Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 117.2 kB / 17.04 MB, free: 6.023 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.00318/0.003181, allocations: 194.9 kB / 17.97 MB, free: 5.109 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.933/1.933, 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.2683/0.2683, allocations: 43.51 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.001564/0.001564, allocations: 70.67 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1528, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003574/0.1564, allocations: 1.782 MB / 443.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1578, allocations: 0.8779 MB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.158, allocations: 0 / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005086/0.1585, allocations: 311.2 kB / 444.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1588, allocations: 207.4 kB / 445.2 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1592, allocations: 154.8 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1594, allocations: 239.4 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.1595, allocations: 9.547 kB / 445.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1596, allocations: 123.6 kB / 445.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1598, allocations: 195.5 kB / 445.9 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1598, allocations: 11.94 kB / 445.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.1599, allocations: 43.98 kB / 445.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.16, allocations: 131.6 kB / 446 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1602, allocations: 142.8 kB / 446.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1605, allocations: 370.6 kB / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.1605, allocations: 0 / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1605, allocations: 0 / 446.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.1605, allocations: 0 / 446.5 MB, free: 1.547 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.0008879/0.1614, allocations: 0.7307 MB / 447.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.1615, allocations: 15.89 kB / 447.3 MB, free: 0.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.1615, allocations: 44.38 kB / 447.3 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.1621, allocations: 447.8 kB / 447.8 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1621, allocations: 384 / 447.8 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1622, allocations: 12.11 kB / 447.8 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1624, allocations: 91.3 kB / 447.9 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1624, allocations: 0 / 447.9 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1624, allocations: 3.938 kB / 447.9 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1624, allocations: 4 kB / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1625, allocations: 31.97 kB / 447.9 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.163, allocations: 370.4 kB / 448.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.1633, allocations: 109.2 kB / 448.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1634, allocations: 41.64 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1635, allocations: 4 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1637, allocations: 116.9 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.193e-06/0.1637, allocations: 0 / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004914/0.1642, allocations: 196.9 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1643, allocations: 85.11 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1654, allocations: 1.03 MB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1654, allocations: 25.7 kB / 449.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1656, allocations: 240.1 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1657, allocations: 23.66 kB / 450.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.1658, allocations: 29.7 kB / 450.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1659, allocations: 366.8 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.166, allocations: 31.98 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1661, allocations: 63.34 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.1663, allocations: 91.86 kB / 450.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1663, allocations: 0 / 450.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002773/0.1666, allocations: 172.9 kB / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1666, allocations: 4 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1667, allocations: 0 / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1667, allocations: 8.062 kB / 450.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.1668, allocations: 23.98 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.1669, allocations: 7.938 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.167, allocations: 7.938 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.167, allocations: 4 kB / 450.9 MB, free: 12.88 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.0002375/0.1672, allocations: 229.6 kB / 451.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.1673, allocations: 47.34 kB / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.1674, allocations: 60 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1674, allocations: 4 kB / 451.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1674, allocations: 4 kB / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1674, allocations: 0 / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.1678, allocations: 345.3 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1678, allocations: 7.938 kB / 451.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.1678, allocations: 4 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1678, allocations: 4 kB / 451.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1679, allocations: 3.984 kB / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.1679, allocations: 3.938 kB / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1679, allocations: 128 / 451.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1682, allocations: 217.2 kB / 451.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1684, allocations: 140.4 kB / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.1685, allocations: 0 / 452 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.1685, allocations: 11.98 kB / 452 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.1686, allocations: 7.984 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1686, allocations: 4 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007664/0.1694, allocations: 0.7722 MB / 452.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1694, allocations: 0 / 452.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1697, allocations: 43.98 kB / 452.8 MB, free: 10.89 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.001/0.1707, allocations: 411.6 kB / 453.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.171, allocations: 83.91 kB / 453.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.171, allocations: 0 / 453.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1711, allocations: 51.97 kB / 453.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.1715, allocations: 72.23 kB / 453.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.1728, allocations: 0.8628 MB / 454.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.1733, allocations: 0.8388 MB / 455.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1735, allocations: 62.94 kB / 455.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1736, allocations: 27.44 kB / 455.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1736, allocations: 3.938 kB / 455.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of Templates: time 0.008157/0.1817, allocations: 3.701 MB / 458.9 MB, free: 4.828 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches