Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 106.9 kB / 17.03 MB, free: 5.66 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.00177/0.001771, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.93/1.93, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2779/0.2779, allocations: 43.53 MB / 314.7 MB, free: 472 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.00187/0.00187, allocations: 74.05 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1584, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003771/0.1622, allocations: 1.64 MB / 443.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1635, allocations: 0.7944 MB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.1636, allocations: 0 / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1639, allocations: 59.8 kB / 444.5 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1642, allocations: 63.69 kB / 444.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1645, allocations: 83.75 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1647, allocations: 95.7 kB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.1647, allocations: 11.98 kB / 444.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.1648, allocations: 43.83 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1649, allocations: 43.78 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.165, allocations: 4 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.1651, allocations: 31.98 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.1651, allocations: 15.98 kB / 444.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.1652, allocations: 43.66 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1654, allocations: 95.64 kB / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1654, allocations: 0 / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1655, allocations: 0 / 445 MB, free: 3.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1655, allocations: 4 kB / 445 MB, free: 3.105 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.0006022/0.1661, allocations: 407 kB / 445.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1661, allocations: 11.89 kB / 445.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.1662, allocations: 8.844 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1666, allocations: 205 kB / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1666, allocations: 384 / 445.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1666, allocations: 4.125 kB / 445.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1668, allocations: 57.61 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1668, allocations: 4 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.1669, allocations: 0 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1669, allocations: 0 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.259e-05/0.1669, allocations: 15.98 kB / 445.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.1672, allocations: 181.7 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.1674, allocations: 54.61 kB / 445.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.328e-05/0.1675, allocations: 24.8 kB / 446 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1675, allocations: 3.938 kB / 446 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1677, allocations: 67.33 kB / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1677, allocations: 0 / 446 MB, free: 1.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000305/0.168, allocations: 97.56 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.1681, allocations: 51.41 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1682, allocations: 186 kB / 446.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1683, allocations: 37.64 kB / 446.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.1683, allocations: 100.1 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.1684, allocations: 7.906 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1684, allocations: 25.64 kB / 446.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.1685, allocations: 322.8 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1685, allocations: 12 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.1686, allocations: 33.7 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.1687, allocations: 45.7 kB / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1687, allocations: 256 / 446.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.1689, allocations: 85.47 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1689, allocations: 8 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1689, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1689, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.169, allocations: 8 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.169, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.1691, allocations: 15.86 kB / 447 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1691, allocations: 4 kB / 447 MB, free: 0.8242 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 9.366e-05/0.1692, allocations: 133.7 kB / 447.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.1692, allocations: 7.906 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.1693, allocations: 12.3 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1693, allocations: 0 / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1693, allocations: 4 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1693, allocations: 0 / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1695, allocations: 181.6 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1695, allocations: 4 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.1695, allocations: 7.984 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1695, allocations: 0 / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1695, allocations: 7.984 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1696, allocations: 0 / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1696, allocations: 0 / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.1697, allocations: 112.9 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.1698, allocations: 92.86 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1698, allocations: 4 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.345e-05/0.1699, allocations: 4 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1699, allocations: 7.984 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.17, allocations: 0 / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1701, allocations: 139.2 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1701, allocations: 0 / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1703, allocations: 19.98 kB / 447.8 MB, free: 4 kB / 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.001438/0.1717, allocations: 419.6 kB / 448.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.172, allocations: 39.92 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.172, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.1721, allocations: 23.98 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1724, allocations: 23.92 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.173, allocations: 194.1 kB / 448.5 MB, free: 15.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.1735, allocations: 0.7041 MB / 449.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.1736, allocations: 20.64 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.1736, allocations: 15.44 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of SimCode: time 3.316e-06/0.1736, allocations: 0 / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of Templates: time 0.005288/0.1789, allocations: 1.478 MB / 450.7 MB, free: 13.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches