Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test67",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.01158/0.01158, allocations: 107.1 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.00125/0.001251, allocations: 181.3 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 1.897/1.897, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.2995/0.2995, allocations: 40.04 MB / 296.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 12 kB / 361.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 54.89 MB / 416 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003222/0.1228, allocations: 1.863 MB / 417.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003899/0.1267, allocations: 1.654 MB / 419.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.1269, allocations: 7.938 kB / 419.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.1276, allocations: 255.3 kB / 419.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.1281, allocations: 203.5 kB / 420 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000919/0.1291, allocations: 251.2 kB / 420.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006054/0.1297, allocations: 331.3 kB / 420.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.1299, allocations: 45.08 kB / 420.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.1303, allocations: 211.2 kB / 420.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.1307, allocations: 203.2 kB / 421 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.492e-05/0.1307, allocations: 12 kB / 421 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.1312, allocations: 107.9 kB / 421.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.1313, allocations: 95.64 kB / 421.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1315, allocations: 97.44 kB / 421.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.1321, allocations: 379.5 kB / 421.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1322, allocations: 0 / 421.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1322, allocations: 3.938 kB / 421.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.1322, allocations: 0 / 421.7 MB, free: 12.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001435/0.1336, allocations: 0.9948 MB / 422.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1337, allocations: 8.031 kB / 422.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.062e-05/0.1338, allocations: 46.55 kB / 422.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1339, allocations: 51.34 kB / 422.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.1346, allocations: 367.1 kB / 423.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.1347, allocations: 12 kB / 423.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.326e-05/0.1348, allocations: 23.95 kB / 423.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.1354, allocations: 218.5 kB / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1354, allocations: 0 / 423.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.1355, allocations: 4 kB / 423.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1355, allocations: 4 kB / 423.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1359, allocations: 103.9 kB / 423.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.1373, allocations: 0.911 MB / 424.4 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.1383, allocations: 301.8 kB / 424.7 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.1384, allocations: 4 kB / 424.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.1391, allocations: 223.5 kB / 424.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/0.1391, allocations: 4 kB / 424.9 MB, free: 9.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.003291/0.1424, allocations: 0.9841 MB / 425.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1425, allocations: 162.2 kB / 426.1 MB, free: 8.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.1435, allocations: 0.5956 MB / 426.7 MB, free: 7.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.1436, allocations: 41.7 kB / 426.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.1438, allocations: 204.9 kB / 426.9 MB, free: 7.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.144, allocations: 114.5 kB / 427 MB, free: 7.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.144, allocations: 12 kB / 427.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1442, allocations: 370.8 kB / 427.4 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/0.1448, allocations: 153.1 kB / 427.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.1454, allocations: 234.7 kB / 427.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1461, allocations: 328.4 kB / 428.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1461, allocations: 0 / 428.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001753/0.1479, allocations: 0.6651 MB / 428.8 MB, free: 5.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.148, allocations: 164.5 kB / 428.9 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.148, allocations: 4 kB / 428.9 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.1481, allocations: 8.422 kB / 429 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.1487, allocations: 92.05 kB / 429 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.1487, allocations: 4 kB / 429 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.1491, allocations: 27.98 kB / 429.1 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.1492, allocations: 24 kB / 429.1 MB, free: 4.883 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.000356/0.1495, allocations: 220.2 kB / 429.3 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.1497, allocations: 55.28 kB / 429.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.1498, allocations: 59.8 kB / 429.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.1499, allocations: 8 kB / 429.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.1499, allocations: 5.453 kB / 429.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1499, allocations: 4 kB / 429.4 MB, free: 4.527 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.1524, allocations: 1.269 MB / 430.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1524, allocations: 0 / 430.7 MB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.1527, allocations: 51.92 kB / 430.8 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.1527, allocations: 7.984 kB / 430.8 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.1528, allocations: 15.98 kB / 430.8 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/0.1528, allocations: 4.156 kB / 430.8 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.1528, allocations: 8 kB / 430.8 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.1543, allocations: 0.9217 MB / 431.7 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.1545, allocations: 160.4 kB / 431.9 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.1547, allocations: 23.98 kB / 431.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.1552, allocations: 23.94 kB / 431.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.1554, allocations: 39.89 kB / 432 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-05/0.1554, allocations: 20 kB / 432 MB, free: 1.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006824/0.1561, allocations: 422.8 kB / 432.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1561, allocations: 0 / 432.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001006/0.1572, allocations: 152 kB / 432.5 MB, free: 1.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.006037/0.1632, allocations: 3.416 MB / 436 MB, free: 13.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.165, allocations: 0.7243 MB / 436.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.165, allocations: 4.25 kB / 436.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.1655, allocations: 151.7 kB / 436.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.1666, allocations: 97.78 kB / 436.9 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.1701, allocations: 2.756 MB / 439.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005715/0.1707, allocations: 0.8586 MB / 440.5 MB, free: 9.066 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003842/0.1711, allocations: 68 kB / 440.6 MB, free: 9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.1715, allocations: 159.4 kB / 440.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1715, allocations: 0 / 440.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3244/0.4959, allocations: 11.01 MB / 451.8 MB, free: 58.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.4963, allocations: 260 kB / 452 MB, free: 58.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.335, allocations: 0 / 452 MB, free: 58.37 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat