Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 173.9 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5483/0.5483, allocations: 43.57 MB / 314.6 MB, free: 8.738 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005815/0.0005817, allocations: 12 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1686, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003334/0.172, allocations: 1.61 MB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1739, allocations: 0.9019 MB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.174, allocations: 4 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.1748, allocations: 179.6 kB / 445.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.1752, allocations: 131.5 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.1757, allocations: 179.6 kB / 445.8 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.176, allocations: 215.3 kB / 446 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1762, allocations: 21.66 kB / 446.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1763, allocations: 95.55 kB / 446.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1765, allocations: 95.59 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1765, allocations: 4 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1767, allocations: 43.97 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1768, allocations: 47.83 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.1768, allocations: 57.58 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.1772, allocations: 167.9 kB / 446.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1772, allocations: 4 kB / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.1772, allocations: 0 / 446.6 MB, free: 9.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1772, allocations: 3.938 kB / 446.6 MB, free: 9.254 MB / 382.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.001019/0.1783, allocations: 0.5116 MB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1783, allocations: 12.03 kB / 447.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.1784, allocations: 31.72 kB / 447.1 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.1788, allocations: 270.4 kB / 447.4 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1788, allocations: 8 kB / 447.4 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1788, allocations: 7.938 kB / 447.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1791, allocations: 100.2 kB / 447.5 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.1791, allocations: 4 kB / 447.5 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1791, allocations: 4 kB / 447.5 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1791, allocations: 3.953 kB / 447.5 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1793, allocations: 39.97 kB / 447.5 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.18, allocations: 377.5 kB / 447.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1803, allocations: 121.2 kB / 448 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.445e-05/0.1804, allocations: 45.69 kB / 448.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1804, allocations: 4 kB / 448.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.1806, allocations: 113 kB / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.1807, allocations: 0 / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004555/0.1811, allocations: 181.3 kB / 448.4 MB, free: 7.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.1812, allocations: 102.8 kB / 448.5 MB, free: 7.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.1816, allocations: 334.9 kB / 448.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1816, allocations: 29.7 kB / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1817, allocations: 148 kB / 449 MB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1818, allocations: 23.62 kB / 449 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.1818, allocations: 4 kB / 449 MB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.182, allocations: 334.8 kB / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.1821, allocations: 35.92 kB / 449.4 MB, free: 6.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1822, allocations: 77.06 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1823, allocations: 47.95 kB / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1823, allocations: 0 / 449.5 MB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002571/0.1826, allocations: 137.9 kB / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1826, allocations: 15.89 kB / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1826, allocations: 0 / 449.6 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1826, allocations: 3.984 kB / 449.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1828, allocations: 24.06 kB / 449.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1828, allocations: 0 / 449.7 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.102e-05/0.1829, allocations: 20.05 kB / 449.7 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1829, allocations: 4 kB / 449.7 MB, free: 5.844 MB / 382.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.183, allocations: 157.7 kB / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1831, allocations: 23.72 kB / 449.9 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.1832, allocations: 29.69 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1832, allocations: 0 / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1832, allocations: 4 kB / 449.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1832, allocations: 3.984 kB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1834, allocations: 257.5 kB / 450.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1835, allocations: 0 / 450.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.1835, allocations: 11.94 kB / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1835, allocations: 0 / 450.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1835, allocations: 4 kB / 450.2 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1835, allocations: 7.953 kB / 450.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1835, allocations: 3.984 kB / 450.2 MB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.1838, allocations: 181.5 kB / 450.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.1839, allocations: 104.8 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.184, allocations: 0 / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.184, allocations: 15.98 kB / 450.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.1841, allocations: 11.94 kB / 450.5 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1841, allocations: 4 kB / 450.5 MB, free: 4.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1844, allocations: 249.9 kB / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1844, allocations: 0 / 450.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1847, allocations: 39.98 kB / 450.8 MB, free: 4.66 MB / 382.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 (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.001031/0.1857, allocations: 418.1 kB / 451.2 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.186, allocations: 95.83 kB / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.186, allocations: 0 / 451.3 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1861, allocations: 52.05 kB / 451.3 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1865, allocations: 57.33 kB / 451.4 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/0.1872, allocations: 403.4 kB / 451.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.1876, allocations: 0.7479 MB / 452.5 MB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.1877, allocations: 29.94 kB / 452.5 MB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.1877, allocations: 27.42 kB / 452.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1877, allocations: 0 / 452.6 MB, free: 2.82 MB / 382.1 MB Notification: Performance of Templates: time 0.006719/0.1945, allocations: 2.714 MB / 455.3 MB, free: 112 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches