Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01106/0.01106, allocations: 110 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.0012/0.0012, allocations: 181.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.12/2.12, allocations: 194.5 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2671/0.2671, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004704, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 54.88 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002398/0.1188, allocations: 1.357 MB / 417.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1205, allocations: 0.7189 MB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1206, allocations: 4 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1209, allocations: 15.92 kB / 418.1 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1211, allocations: 43.81 kB / 418.2 MB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1213, allocations: 47.83 kB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1215, allocations: 63.86 kB / 418.3 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1216, allocations: 19.97 kB / 418.3 MB, free: 248 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1218, allocations: 35.84 kB / 418.3 MB, free: 212 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.787e-05/0.1219, allocations: 23.86 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.1219, allocations: 0 / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.122, allocations: 27.98 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.1221, allocations: 19.92 kB / 418.4 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1221, allocations: 33.7 kB / 418.4 MB, free: 100 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.1223, allocations: 88.03 kB / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1224, allocations: 0 / 418.5 MB, free: 12 kB / 346.7 MB Notification: Performance of FrontEnd: time 4.638e-06/0.1224, allocations: 4 kB / 418.5 MB, free: 8 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1224, allocations: 3.938 kB / 418.5 MB, free: 4 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006295/0.123, allocations: 442.4 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1231, allocations: 8.031 kB / 419 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.1231, allocations: 34.56 kB / 419 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1232, allocations: 7.906 kB / 419 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1235, allocations: 199.5 kB / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1235, allocations: 0 / 419.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1235, allocations: 11.95 kB / 419.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1237, allocations: 57.67 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1238, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1238, allocations: 0 / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1238, allocations: 7.938 kB / 419.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1239, allocations: 15.98 kB / 419.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.1244, allocations: 292.8 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1246, allocations: 66.61 kB / 419.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1247, allocations: 3.938 kB / 419.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1249, allocations: 71.52 kB / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.125, allocations: 0 / 419.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007573/0.1257, allocations: 177.2 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.1258, allocations: 55.41 kB / 419.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.126, allocations: 166.4 kB / 420.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.126, allocations: 29.7 kB / 420.1 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.1261, allocations: 100.1 kB / 420.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.1262, allocations: 23.7 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1262, allocations: 4 kB / 420.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1263, allocations: 326.8 kB / 420.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1265, allocations: 27.98 kB / 420.6 MB, free: 13.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1266, allocations: 53.64 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1268, allocations: 65.69 kB / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1268, allocations: 0 / 420.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000378/0.1272, allocations: 163.1 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.1272, allocations: 37.69 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1273, allocations: 0 / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1273, allocations: 4 kB / 420.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.1274, allocations: 15.94 kB / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1275, allocations: 4.031 kB / 420.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.1276, allocations: 8 kB / 421 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1276, allocations: 7.984 kB / 421 MB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.1277, allocations: 121.8 kB / 421.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.1278, allocations: 11.91 kB / 421.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/0.1278, allocations: 16.7 kB / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1278, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1279, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1279, allocations: 0 / 421.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.1285, allocations: 395.3 kB / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.1285, allocations: 0 / 421.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.1286, allocations: 8 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1286, allocations: 3.938 kB / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1286, allocations: 0 / 421.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1287, allocations: 4 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1287, allocations: 3.938 kB / 421.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.1291, allocations: 221.9 kB / 421.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1292, allocations: 96.98 kB / 421.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.1292, allocations: 11.98 kB / 421.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1293, allocations: 0 / 421.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1294, allocations: 4 kB / 421.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.1294, allocations: 8.359 kB / 421.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1296, allocations: 134.7 kB / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1296, allocations: 0 / 422 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.1299, allocations: 28 kB / 422 MB, free: 12.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.1318, allocations: 1.156 MB / 423.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.1322, allocations: 147.3 kB / 423.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.1322, allocations: 7.938 kB / 423.3 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1323, allocations: 31.97 kB / 423.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1326, allocations: 23.88 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.1336, allocations: 0.594 MB / 424 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1339, allocations: 0.7043 MB / 424.7 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.134, allocations: 8.438 kB / 424.7 MB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.694e-05/0.1341, allocations: 27.42 kB / 424.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1341, allocations: 192 / 424.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1574, allocations: 2.8 MB / 427.5 MB, free: 6.617 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.1578, allocations: 254.2 kB / 427.8 MB, free: 6.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.564, allocations: 0 / 427.8 MB, free: 6.277 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat