Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 107.1 kB / 17.03 MB, free: 5.664 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.00116/0.00116, allocations: 192.1 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.812/1.812, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2769/0.2769, allocations: 43.52 MB / 314.7 MB, free: 492 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.001932/0.001932, allocations: 71.72 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1544, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00431/0.1588, allocations: 1.778 MB / 443.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.1601, allocations: 0.878 MB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.1602, allocations: 0 / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.1608, allocations: 303.2 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1611, allocations: 207.3 kB / 445.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.1615, allocations: 151.4 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1618, allocations: 239.4 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.607e-05/0.1618, allocations: 13.55 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.162, allocations: 127.5 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.1622, allocations: 184 kB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1622, allocations: 4 kB / 445.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1623, allocations: 51.97 kB / 445.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.1624, allocations: 124.6 kB / 446 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1626, allocations: 150.8 kB / 446.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.1629, allocations: 354.7 kB / 446.5 MB, free: 1.602 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1629, allocations: 4 kB / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1629, allocations: 0 / 446.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1629, allocations: 0 / 446.5 MB, free: 1.598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009395/0.1639, allocations: 0.7152 MB / 447.2 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1639, allocations: 11.89 kB / 447.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.164, allocations: 44.38 kB / 447.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006492/0.1647, allocations: 447.7 kB / 447.7 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1647, allocations: 12.31 kB / 447.7 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1647, allocations: 12.11 kB / 447.7 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.165, allocations: 79.36 kB / 447.8 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.165, allocations: 4 kB / 447.8 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.165, allocations: 4 kB / 447.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.165, allocations: 0 / 447.8 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1651, allocations: 35.89 kB / 447.8 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1656, allocations: 374.5 kB / 448.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.1659, allocations: 105.2 kB / 448.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1661, allocations: 45.58 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1661, allocations: 4 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.1664, allocations: 105 kB / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1664, allocations: 0 / 448.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005406/0.1669, allocations: 193.1 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.167, allocations: 85.05 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1682, allocations: 1.011 MB / 449.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1682, allocations: 29.7 kB / 449.8 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.1684, allocations: 228.1 kB / 450 MB, free: 13.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.1685, allocations: 23.66 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.1686, allocations: 29.7 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.1688, allocations: 370.8 kB / 450.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.283e-05/0.1689, allocations: 27.98 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.925e-05/0.169, allocations: 55.41 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1692, allocations: 87.86 kB / 450.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1692, allocations: 4 kB / 450.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003079/0.1696, allocations: 169 kB / 450.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1696, allocations: 9.25 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1696, allocations: 0 / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1696, allocations: 4 kB / 450.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1698, allocations: 27.92 kB / 450.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1698, allocations: 0 / 450.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.1699, allocations: 11.91 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1699, allocations: 4 kB / 450.8 MB, free: 13 MB / 334.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002535/0.1702, allocations: 229.7 kB / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.1702, allocations: 47.34 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.1704, allocations: 63.78 kB / 451.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1704, allocations: 3.938 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1704, allocations: 0 / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1704, allocations: 4 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.1707, allocations: 341.2 kB / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1708, allocations: 0 / 451.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.1708, allocations: 11.98 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1708, allocations: 0 / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1708, allocations: 4 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1708, allocations: 4 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1708, allocations: 3.938 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.1712, allocations: 197.2 kB / 451.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1714, allocations: 140.4 kB / 451.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.1715, allocations: 4 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.1715, allocations: 8.125 kB / 451.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.1716, allocations: 11.98 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1716, allocations: 8 kB / 451.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008376/0.1725, allocations: 0.7487 MB / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1725, allocations: 0 / 452.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1728, allocations: 40 kB / 452.7 MB, free: 11.05 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001094/0.1739, allocations: 425.7 kB / 453.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1741, allocations: 83.91 kB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1741, allocations: 0 / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1743, allocations: 35.98 kB / 453.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1747, allocations: 76.73 kB / 453.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1761, allocations: 0.8474 MB / 454.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.1766, allocations: 0.8427 MB / 455 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1768, allocations: 50.95 kB / 455 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.1768, allocations: 31.42 kB / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1768, allocations: 0 / 455 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Templates: time 0.008947/0.1858, allocations: 3.654 MB / 458.7 MB, free: 5.055 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches