Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 105.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001717/0.001717, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2337/0.2337, allocations: 46.13 MB / 343.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 76.73 kB / 416.9 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1487, allocations: 62.46 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003417/0.1522, allocations: 1.886 MB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1544, allocations: 1.092 MB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.1544, allocations: 0 / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.1552, allocations: 303.4 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1556, allocations: 235.4 kB / 482.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1559, allocations: 91.84 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1562, allocations: 255.2 kB / 483.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1563, allocations: 9.688 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1564, allocations: 115.6 kB / 483.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1567, allocations: 195.5 kB / 483.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1568, allocations: 7.938 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1569, allocations: 39.97 kB / 483.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.157, allocations: 135.6 kB / 483.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.1572, allocations: 146.8 kB / 483.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.1576, allocations: 363 kB / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1576, allocations: 0 / 484.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1576, allocations: 3.938 kB / 484.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1576, allocations: 4 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001055/0.1587, allocations: 0.7446 MB / 485 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1588, allocations: 8.875 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1589, allocations: 56.22 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.1595, allocations: 451.8 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1595, allocations: 384 / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1596, allocations: 12.12 kB / 485.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1598, allocations: 87.3 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1598, allocations: 4 kB / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1598, allocations: 0 / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1598, allocations: 0 / 485.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1599, allocations: 23.98 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1604, allocations: 382.4 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.1607, allocations: 109.2 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1609, allocations: 41.64 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1609, allocations: 0 / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.1612, allocations: 113 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.1612, allocations: 7.875 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005163/0.1617, allocations: 200.9 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1618, allocations: 77.11 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.1633, allocations: 1.054 MB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1633, allocations: 29.7 kB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1636, allocations: 232.1 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.1636, allocations: 35.62 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.1637, allocations: 29.7 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.1639, allocations: 370.8 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.164, allocations: 27.98 kB / 488.3 MB, free: 12.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1641, allocations: 63.34 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1643, allocations: 83.92 kB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1643, allocations: 4 kB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003086/0.1647, allocations: 176.8 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1647, allocations: 4 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1647, allocations: 4 kB / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1647, allocations: 0 / 488.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1648, allocations: 24.05 kB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1648, allocations: 4 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.165, allocations: 15.78 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.165, allocations: 8 kB / 488.7 MB, free: 12.08 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002464/0.1652, allocations: 221.7 kB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1654, allocations: 51.34 kB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.1655, allocations: 68.12 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1655, allocations: 0 / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1656, allocations: 0 / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1656, allocations: 4 kB / 489 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1659, allocations: 345.4 kB / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1659, allocations: 0 / 489.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.788e-05/0.166, allocations: 7.984 kB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.166, allocations: 4 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.166, allocations: 0 / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.166, allocations: 3.984 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.166, allocations: 7.938 kB / 489.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.1664, allocations: 209.2 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.1665, allocations: 140.4 kB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.1666, allocations: 12.16 kB / 489.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.1667, allocations: 7.938 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1667, allocations: 7.984 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1668, allocations: 8 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008441/0.1676, allocations: 0.7839 MB / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1676, allocations: 0 / 490.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1679, allocations: 51.98 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001488/0.1694, allocations: 404.6 kB / 491 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1696, allocations: 75.91 kB / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1696, allocations: 0 / 491 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1698, allocations: 44.16 kB / 491.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.1702, allocations: 77.78 kB / 491.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1717, allocations: 0.9699 MB / 492.1 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.1723, allocations: 0.8469 MB / 493 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.1724, allocations: 58.92 kB / 493 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.1725, allocations: 31.42 kB / 493.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1725, allocations: 0 / 493.1 MB, free: 7.648 MB / 366.1 MB Notification: Performance of Templates: time 0.008357/0.1809, allocations: 3.609 MB / 496.7 MB, free: 4.051 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches