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.001429/0.001429, allocations: 110 kB / 17.04 MB, free: 5.359 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.001721/0.001722, allocations: 194.6 kB / 17.98 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.258/0.258, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001822/0.001822, allocations: 67.83 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1485, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003/0.1516, allocations: 1.647 MB / 443.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1527, allocations: 0.7828 MB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.1528, allocations: 4 kB / 444.4 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1532, allocations: 63.78 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1534, allocations: 67.69 kB / 444.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.1536, allocations: 83.75 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1538, allocations: 95.69 kB / 444.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.1539, allocations: 11.97 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.027e-05/0.154, allocations: 47.78 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.1541, allocations: 47.83 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1541, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.151e-05/0.1542, allocations: 28 kB / 444.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.024e-05/0.1543, allocations: 15.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1543, allocations: 39.72 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1545, allocations: 95.66 kB / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1545, allocations: 0 / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1546, allocations: 0 / 445 MB, free: 3.094 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1546, allocations: 0 / 445 MB, free: 3.094 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.0005763/0.1551, allocations: 403 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1552, allocations: 15.89 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1553, allocations: 12.83 kB / 445.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1556, allocations: 208.9 kB / 445.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1556, allocations: 4.375 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1556, allocations: 8.125 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1557, allocations: 49.61 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1558, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.1558, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1558, allocations: 0 / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.736e-05/0.1559, allocations: 19.98 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1561, allocations: 181.7 kB / 445.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1562, allocations: 50.61 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1563, allocations: 24.73 kB / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1563, allocations: 0 / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.1564, allocations: 67.39 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1564, allocations: 0 / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003003/0.1568, allocations: 97.56 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1568, allocations: 51.41 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.157, allocations: 194 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.157, allocations: 29.7 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.157, allocations: 104.1 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.1571, allocations: 11.91 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.1571, allocations: 25.7 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/0.1572, allocations: 318.8 kB / 446.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.871e-05/0.1573, allocations: 12 kB / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.1573, allocations: 29.7 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.1574, allocations: 41.7 kB / 446.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1574, allocations: 4.25 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.1576, allocations: 89.47 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1576, allocations: 5.25 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1576, allocations: 0 / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1576, allocations: 0 / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.1577, allocations: 15.98 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1577, allocations: 0 / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1578, allocations: 15.84 kB / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1578, allocations: 0 / 447 MB, free: 0.8125 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.416e-05/0.1579, allocations: 133.7 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.1579, allocations: 11.89 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.158, allocations: 16.25 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.158, allocations: 4 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.158, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.158, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1581, allocations: 189.6 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1581, allocations: 3.984 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.1581, allocations: 3.984 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1581, allocations: 8 kB / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.1582, allocations: 0 / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1582, allocations: 0 / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1582, allocations: 0 / 447.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.1583, allocations: 108.9 kB / 447.5 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1584, allocations: 92.92 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1584, allocations: 0 / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.338e-05/0.1584, allocations: 4 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1585, allocations: 7.984 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1585, allocations: 4 kB / 447.6 MB, free: 144 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.086e-05/0.1586, allocations: 139.2 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1586, allocations: 0 / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1589, allocations: 16.08 kB / 447.8 MB, free: 15.98 MB / 334.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.001102/0.16, allocations: 419.8 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1602, allocations: 43.92 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1602, allocations: 4.062 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7e-05/0.1603, allocations: 19.98 kB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1606, allocations: 23.92 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.1611, allocations: 202.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.1614, allocations: 0.6963 MB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.1615, allocations: 20.66 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1615, allocations: 11.44 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1615, allocations: 4 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Templates: time 0.004994/0.1665, allocations: 1.464 MB / 450.7 MB, free: 13.14 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/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