Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001758/0.001758, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 78.3 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1587, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003688/0.1624, allocations: 1.915 MB / 482.1 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1644, allocations: 1.123 MB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1646, allocations: 11.94 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.1651, allocations: 255.3 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.1657, allocations: 231.2 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.166, allocations: 111.6 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1663, allocations: 267.3 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1665, allocations: 37.66 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.1667, allocations: 131.5 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.1669, allocations: 191.4 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1669, allocations: 8 kB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1671, allocations: 59.98 kB / 484.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1672, allocations: 67.69 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.1673, allocations: 99.23 kB / 484.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1677, allocations: 247.4 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1677, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1677, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.1677, allocations: 3.938 kB / 484.9 MB, free: 448 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008402/0.1686, allocations: 0.5913 MB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1686, allocations: 8.031 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1687, allocations: 38.73 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.1688, allocations: 32.56 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.1691, allocations: 290.4 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1692, allocations: 4.375 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1692, allocations: 11.94 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1695, allocations: 110.2 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1695, allocations: 19.91 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1695, allocations: 0 / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1696, allocations: 0 / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1697, allocations: 47.97 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.1704, allocations: 484.6 kB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.1708, allocations: 125.2 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1709, allocations: 45.83 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1709, allocations: 4 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.1712, allocations: 117.1 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1712, allocations: 3.938 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00129/0.1725, allocations: 0.5007 MB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.1726, allocations: 81.11 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.1731, allocations: 0.4899 MB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1731, allocations: 33.7 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1733, allocations: 172.5 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.1734, allocations: 67.02 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.1735, allocations: 41.7 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1736, allocations: 346.8 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1738, allocations: 59.97 kB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.1739, allocations: 91.41 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1742, allocations: 163.4 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1742, allocations: 3.938 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004349/0.1747, allocations: 241 kB / 489 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.1747, allocations: 6.5 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1747, allocations: 80 / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1747, allocations: 4 kB / 489 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1749, allocations: 51.91 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1749, allocations: 3.984 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.175, allocations: 4 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.175, allocations: 19.98 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.1752, allocations: 173.7 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1753, allocations: 39.59 kB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.1754, allocations: 42.89 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1754, allocations: 7.938 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1754, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1754, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.1764, allocations: 0.7428 MB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1764, allocations: 0 / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.1765, allocations: 35.92 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1765, allocations: 4 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1766, allocations: 4 kB / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1766, allocations: 0 / 490.2 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1766, allocations: 7.938 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1771, allocations: 428.7 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.1772, allocations: 104.7 kB / 490.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.1772, allocations: 8 kB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1774, allocations: 11.98 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.1775, allocations: 27.8 kB / 490.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.1775, allocations: 11.98 kB / 490.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.1779, allocations: 375.1 kB / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1779, allocations: 0 / 491.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1783, allocations: 48 kB / 491.2 MB, free: 9.715 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.1802, allocations: 1.363 MB / 492.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.1806, allocations: 171.6 kB / 492.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1806, allocations: 0 / 492.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.1807, allocations: 83.84 kB / 492.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.1813, allocations: 63.62 kB / 492.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.185, allocations: 3.006 MB / 495.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.1855, allocations: 0.7908 MB / 496.6 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.1856, allocations: 41.91 kB / 496.7 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1858, allocations: 107.4 kB / 496.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1858, allocations: 4 kB / 496.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.2127, allocations: 6.528 MB / 0.4915 GB, free: 13.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.688, allocations: 13.3 kB / 0.4915 GB, free: 13.65 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches