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.0009337/0.000934, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 185.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 223.1 MB, free: 5.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4377/0.4377, allocations: 43.57 MB / 315 MB, free: 8.652 MB / 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.0005822/0.0005823, allocations: 20 kB / 384.6 MB, free: 7.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1513, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002295/0.1536, allocations: 1.511 MB / 445 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.155, allocations: 0.8432 MB / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.1551, allocations: 0 / 445.8 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.1556, allocations: 299.4 kB / 446.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.1559, allocations: 207.5 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1563, allocations: 131.8 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1565, allocations: 227.4 kB / 446.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.1566, allocations: 9.547 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1567, allocations: 123.5 kB / 446.8 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.157, allocations: 191.5 kB / 447 MB, free: 9.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.157, allocations: 4 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1571, allocations: 39.98 kB / 447 MB, free: 9.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1573, allocations: 139.6 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1575, allocations: 180.3 kB / 447.3 MB, free: 8.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1578, allocations: 350.9 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1578, allocations: 0 / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1578, allocations: 0 / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1578, allocations: 0 / 447.7 MB, free: 8.434 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.0009945/0.1588, allocations: 0.665 MB / 448.3 MB, free: 7.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.1589, allocations: 8.031 kB / 448.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.884e-05/0.159, allocations: 48.28 kB / 448.4 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.1596, allocations: 455.8 kB / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1597, allocations: 8.375 kB / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.1597, allocations: 8.125 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1599, allocations: 79.38 kB / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1599, allocations: 0 / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1599, allocations: 3.984 kB / 448.9 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1599, allocations: 4 kB / 448.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.16, allocations: 31.92 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.1604, allocations: 382.3 kB / 449.3 MB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1607, allocations: 105.2 kB / 449.4 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.1608, allocations: 49.62 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.1608, allocations: 4 kB / 449.5 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1611, allocations: 101 kB / 449.6 MB, free: 6.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1611, allocations: 0 / 449.6 MB, free: 6.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004528/0.1615, allocations: 193 kB / 449.8 MB, free: 6.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.1616, allocations: 93.03 kB / 449.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1627, allocations: 1.03 MB / 450.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1627, allocations: 33.69 kB / 450.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1629, allocations: 232 kB / 451.2 MB, free: 4.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1629, allocations: 27.64 kB / 451.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.163, allocations: 17.72 kB / 451.2 MB, free: 4.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.1632, allocations: 366.8 kB / 451.6 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.1633, allocations: 35.97 kB / 451.6 MB, free: 4.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-05/0.1634, allocations: 51.42 kB / 451.6 MB, free: 4.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1636, allocations: 87.36 kB / 451.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1636, allocations: 3.984 kB / 451.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000353/0.164, allocations: 173.5 kB / 451.9 MB, free: 3.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.164, allocations: 4 kB / 451.9 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.164, allocations: 3.938 kB / 451.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.164, allocations: 4 kB / 451.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1642, allocations: 27.92 kB / 451.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1642, allocations: 64 / 451.9 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.345e-05/0.1643, allocations: 15.94 kB / 452 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1643, allocations: 7.984 kB / 452 MB, free: 3.84 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.0002443/0.1646, allocations: 237.6 kB / 452.2 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1646, allocations: 47.34 kB / 452.2 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.329e-05/0.1647, allocations: 60 kB / 452.3 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1647, allocations: 3.984 kB / 452.3 MB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1647, allocations: 11.92 kB / 452.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1647, allocations: 0 / 452.3 MB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.165, allocations: 337.4 kB / 452.7 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.165, allocations: 4 kB / 452.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1651, allocations: 7.984 kB / 452.7 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1651, allocations: 8 kB / 452.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1651, allocations: 0 / 452.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1651, allocations: 0 / 452.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1651, allocations: 0 / 452.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.1654, allocations: 209.2 kB / 452.9 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.1656, allocations: 140.4 kB / 453 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1656, allocations: 4 kB / 453 MB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.1657, allocations: 11.98 kB / 453 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.1658, allocations: 11.98 kB / 453 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1658, allocations: 8 kB / 453 MB, free: 2.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008721/0.1667, allocations: 0.7643 MB / 453.8 MB, free: 1.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1667, allocations: 0 / 453.8 MB, free: 1.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.167, allocations: 51.98 kB / 453.9 MB, free: 1.848 MB / 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.0009629/0.1679, allocations: 423.6 kB / 454.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.1682, allocations: 83.91 kB / 454.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1682, allocations: 0 / 454.4 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.502e-05/0.1683, allocations: 35.97 kB / 454.4 MB, free: 1.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.1687, allocations: 66.22 kB / 454.5 MB, free: 1.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1699, allocations: 0.9558 MB / 455.4 MB, free: 304 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2155/0.3855, allocations: 0.8386 MB / 456.3 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.3857, allocations: 57.7 kB / 456.3 MB, free: 45.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.3858, allocations: 31.64 kB / 456.3 MB, free: 45.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3858, allocations: 1.844 kB / 456.3 MB, free: 45.76 MB / 382.1 MB Notification: Performance of Templates: time 0.007502/0.3933, allocations: 3.46 MB / 459.8 MB, free: 45.6 MB / 382.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches