Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 107.5 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00183/0.00183, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.1 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.88 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 62.45 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004431/0.1688, allocations: 2.017 MB / 481.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.171, allocations: 1.18 MB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1712, allocations: 0 / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.172, allocations: 198.7 kB / 482.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.1725, allocations: 183.4 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.1729, allocations: 139.7 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1732, allocations: 271.3 kB / 483.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1734, allocations: 20.31 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1735, allocations: 115.5 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1737, allocations: 123.5 kB / 483.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1738, allocations: 8 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.1739, allocations: 55.92 kB / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.174, allocations: 59.81 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.1741, allocations: 87.41 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.1745, allocations: 247.4 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1745, allocations: 0 / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1745, allocations: 4 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.1745, allocations: 0 / 484.2 MB, free: 0.8906 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009281/0.1754, allocations: 0.5583 MB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1755, allocations: 8.031 kB / 484.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.1756, allocations: 28.66 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.176, allocations: 287.5 kB / 485 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.176, allocations: 8.359 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.176, allocations: 8.125 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1763, allocations: 104.2 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1763, allocations: 0 / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1763, allocations: 8 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1763, allocations: 0 / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1765, allocations: 39.91 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.177, allocations: 389.5 kB / 485.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1773, allocations: 121.2 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1774, allocations: 45.7 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1775, allocations: 0 / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1777, allocations: 117 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.223e-06/0.1777, allocations: 0 / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004903/0.1782, allocations: 177.3 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.1783, allocations: 110.8 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.1787, allocations: 351.3 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1787, allocations: 29.7 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1788, allocations: 140.1 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1789, allocations: 31.56 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.1789, allocations: 33.7 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1791, allocations: 338.8 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.1792, allocations: 35.98 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1793, allocations: 73.12 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.1795, allocations: 95.36 kB / 487.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1795, allocations: 4.031 kB / 487.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002732/0.1798, allocations: 145.9 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1798, allocations: 6.656 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1798, allocations: 4 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1798, allocations: 0 / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.18, allocations: 39.92 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.18, allocations: 0 / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.1801, allocations: 7.906 kB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1801, allocations: 12 kB / 487.5 MB, free: 13.29 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001586/0.1802, allocations: 162.8 kB / 487.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.1803, allocations: 27.66 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.1804, allocations: 25.83 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1804, allocations: 4 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1804, allocations: 3.984 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1804, allocations: 0 / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.1807, allocations: 261.5 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1807, allocations: 0 / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1807, allocations: 12 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1807, allocations: 0 / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1807, allocations: 8 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1807, allocations: 3.984 kB / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1807, allocations: 0 / 488 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.1811, allocations: 189.3 kB / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1811, allocations: 96.83 kB / 488.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.1812, allocations: 15.98 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.1813, allocations: 4 kB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1813, allocations: 7.984 kB / 488.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1813, allocations: 11.94 kB / 488.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.1816, allocations: 257.9 kB / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1819, allocations: 32 kB / 488.6 MB, free: 12.09 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001021/0.1829, allocations: 408.5 kB / 489 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.1832, allocations: 95.83 kB / 489.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1832, allocations: 0 / 489.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1834, allocations: 47.92 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.1838, allocations: 70.78 kB / 489.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.1846, allocations: 460.5 kB / 489.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1849, allocations: 0.744 MB / 490.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1851, allocations: 45.89 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.1851, allocations: 23.42 kB / 490.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1851, allocations: 7.938 kB / 490.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Templates: time 0.007055/0.1922, allocations: 2.948 MB / 493.4 MB, free: 7.363 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches