Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 112.8 kB / 16.4 MB, free: 5.902 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.001262/0.001262, allocations: 195.8 kB / 17.33 MB, free: 5.539 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.412/1.412, allocations: 205.1 MB / 223.2 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.2317/0.2317, allocations: 43.52 MB / 314.1 MB, free: 468 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.001302/0.001302, allocations: 70.03 kB / 441.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1581, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003765/0.162, allocations: 1.79 MB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1636, allocations: 0.8741 MB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1637, allocations: 3.938 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.1644, allocations: 307.3 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.1648, allocations: 211.3 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.1652, allocations: 147.7 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1655, allocations: 243.4 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.315e-05/0.1656, allocations: 17.53 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.1658, allocations: 135.5 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.166, allocations: 183.5 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.1661, allocations: 8 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1662, allocations: 39.98 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.1664, allocations: 143.6 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.1665, allocations: 146.8 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.167, allocations: 374.2 kB / 0.4924 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.167, allocations: 0 / 0.4924 GB, free: 7.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.167, allocations: 0 / 0.4924 GB, free: 7.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.167, allocations: 0 / 0.4924 GB, free: 7.148 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001091/0.1681, allocations: 0.7423 MB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.1682, allocations: 11.89 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1683, allocations: 48.61 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.1691, allocations: 460.3 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1691, allocations: 4.375 kB / 0.4936 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.1692, allocations: 16.11 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1694, allocations: 83.36 kB / 0.4937 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1694, allocations: 3.938 kB / 0.4937 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1694, allocations: 4 kB / 0.4937 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1695, allocations: 4 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1696, allocations: 27.97 kB / 0.4938 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1701, allocations: 378.4 kB / 0.4941 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.1704, allocations: 105.2 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1705, allocations: 45.64 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1705, allocations: 7.984 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.1708, allocations: 113 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.1708, allocations: 0 / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005866/0.1714, allocations: 189.2 kB / 0.4946 GB, free: 4.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/0.1716, allocations: 89.11 kB / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.1729, allocations: 1.034 MB / 0.4957 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.1729, allocations: 29.7 kB / 0.4957 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.1731, allocations: 232.1 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1732, allocations: 27.78 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.1732, allocations: 29.72 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002889/0.1735, allocations: 366.8 kB / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1736, allocations: 31.97 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.1737, allocations: 55.42 kB / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.1739, allocations: 95.8 kB / 0.4965 GB, free: 2.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1739, allocations: 0 / 0.4965 GB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003223/0.1743, allocations: 181.1 kB / 0.4967 GB, free: 2.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1743, allocations: 4 kB / 0.4967 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1743, allocations: 4 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1743, allocations: 0 / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1745, allocations: 27.98 kB / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1745, allocations: 0 / 0.4967 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.1746, allocations: 4 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1746, allocations: 11.92 kB / 0.4967 GB, free: 2.445 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: 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.000241/0.1748, allocations: 233.7 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.1749, allocations: 51.67 kB / 0.497 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.41e-05/0.175, allocations: 56 kB / 0.497 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.175, allocations: 7.984 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.175, allocations: 0 / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.175, allocations: 0 / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1754, allocations: 349.3 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1754, allocations: 0 / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.1754, allocations: 11.98 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1755, allocations: 0 / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1755, allocations: 8 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1755, allocations: 4 kB / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1755, allocations: 0 / 0.4974 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1758, allocations: 205.6 kB / 0.4976 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.176, allocations: 140.8 kB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.176, allocations: 0 / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.1761, allocations: 12 kB / 0.4977 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1762, allocations: 7.984 kB / 0.4977 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1762, allocations: 4 kB / 0.4977 GB, free: 1.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008377/0.177, allocations: 0.7721 MB / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.177, allocations: 0 / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1773, allocations: 40 kB / 0.4985 GB, free: 480 kB / 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: 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.001054/0.1784, allocations: 420 kB / 0.4989 GB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1786, allocations: 87.89 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1787, allocations: 4 kB / 0.499 GB, free: 0 / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1788, allocations: 35.92 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.1792, allocations: 81.98 kB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.1804, allocations: 0.8697 MB / 0.5 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.181, allocations: 0.8466 MB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.1812, allocations: 54.94 kB / 0.5009 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.1812, allocations: 35.42 kB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1812, allocations: 0 / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.009091/0.1903, allocations: 3.754 MB / 0.5046 GB, free: 10.28 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches