Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.018/2.018, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2466/0.2466, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001861/0.001862, allocations: 72.48 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003798/0.1581, allocations: 1.656 MB / 442.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1592, allocations: 0.7749 MB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1593, allocations: 4 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.1597, allocations: 71.7 kB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.1599, allocations: 63.75 kB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1601, allocations: 75.77 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1603, allocations: 99.69 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.768e-05/0.1604, allocations: 8 kB / 443.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.1604, allocations: 43.83 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.1605, allocations: 47.72 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1606, allocations: 4 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.1607, allocations: 35.98 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.1607, allocations: 19.97 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.1608, allocations: 27.75 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1609, allocations: 99.92 kB / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1609, allocations: 0 / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1609, allocations: 0 / 443.6 MB, free: 3.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.161, allocations: 4 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005128/0.1615, allocations: 402.9 kB / 443.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1615, allocations: 23.83 kB / 444 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.1616, allocations: 8.844 kB / 444 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1618, allocations: 201.2 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1618, allocations: 4.375 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1618, allocations: 4.125 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.162, allocations: 45.67 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.162, allocations: 0 / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.162, allocations: 8 kB / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.162, allocations: 0 / 444.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.1621, allocations: 8 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.1623, allocations: 185.7 kB / 444.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.1625, allocations: 54.56 kB / 444.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.778e-05/0.1626, allocations: 28.77 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.1626, allocations: 0 / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.1629, allocations: 75.27 kB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.1629, allocations: 0 / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002974/0.1632, allocations: 93.52 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.1632, allocations: 55.41 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1634, allocations: 194 kB / 444.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1634, allocations: 25.7 kB / 444.9 MB, free: 2.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.1635, allocations: 100.1 kB / 445 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1635, allocations: 15.88 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1635, allocations: 21.72 kB / 445.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.1636, allocations: 322.8 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.1637, allocations: 15.98 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.971e-05/0.1638, allocations: 25.72 kB / 445.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.1638, allocations: 45.89 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1639, allocations: 12 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001282/0.164, allocations: 77.53 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.164, allocations: 4 kB / 445.6 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.164, allocations: 3.938 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1641, allocations: 4 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.1642, allocations: 11.98 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1642, allocations: 0 / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1642, allocations: 11.84 kB / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1643, allocations: 0 / 445.6 MB, free: 1.574 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.243e-05/0.1643, allocations: 133.7 kB / 445.7 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.1644, allocations: 11.91 kB / 445.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.1644, allocations: 12.31 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1644, allocations: 0 / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1644, allocations: 0 / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1644, allocations: 3.984 kB / 445.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1646, allocations: 185.6 kB / 445.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1646, allocations: 0 / 445.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.1646, allocations: 4 kB / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1646, allocations: 0 / 445.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1646, allocations: 4 kB / 445.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1646, allocations: 3.938 kB / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1646, allocations: 0 / 445.9 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1648, allocations: 109 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1648, allocations: 92.86 kB / 446.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1648, allocations: 3.984 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.271e-05/0.1649, allocations: 4 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1649, allocations: 4 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1649, allocations: 12.12 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.165, allocations: 139.2 kB / 446.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.165, allocations: 3.938 kB / 446.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.1652, allocations: 16 kB / 446.3 MB, free: 0.75 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009641/0.1662, allocations: 402.7 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.1664, allocations: 51.91 kB / 446.8 MB, free: 384 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1664, allocations: 4.062 kB / 446.8 MB, free: 380 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.1665, allocations: 20 kB / 446.8 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1667, allocations: 32.09 kB / 446.8 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.1672, allocations: 202 kB / 447 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1675, allocations: 0.6963 MB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.1675, allocations: 24.39 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1676, allocations: 23.42 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of SimCode: time 1.814e-06/0.1676, allocations: 0 / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of Templates: time 0.004367/0.172, allocations: 1.462 MB / 449.2 MB, free: 13.88 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches