Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001509/0.001509, allocations: 184.1 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2647/0.2647, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 66.58 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003607/0.1496, allocations: 1.788 MB / 472.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003036/0.1526, allocations: 1.553 MB / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1528, allocations: 0 / 474.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.1532, allocations: 55.69 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1535, allocations: 91.53 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.154, allocations: 174.4 kB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.1543, allocations: 179.5 kB / 474.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.1544, allocations: 17.53 kB / 474.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1545, allocations: 75.62 kB / 474.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.1547, allocations: 71.62 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1548, allocations: 8 kB / 474.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.155, allocations: 67.97 kB / 474.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.1551, allocations: 27.91 kB / 474.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.1552, allocations: 67.53 kB / 474.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1555, allocations: 159.5 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1555, allocations: 0 / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1556, allocations: 0 / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1556, allocations: 0 / 475 MB, free: 9.301 MB / 350.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.0008552/0.1564, allocations: 470.7 kB / 475.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1565, allocations: 8.031 kB / 475.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.1565, allocations: 20.75 kB / 475.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.157, allocations: 256.3 kB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.157, allocations: 384 / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.157, allocations: 8.125 kB / 475.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1572, allocations: 97.08 kB / 475.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1573, allocations: 4 kB / 475.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1573, allocations: 4 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1573, allocations: 0 / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1574, allocations: 27.92 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.1577, allocations: 214.5 kB / 476.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.158, allocations: 113.2 kB / 476.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.1581, allocations: 41.64 kB / 476.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1582, allocations: 4 kB / 476.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1584, allocations: 117 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1584, allocations: 0 / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004511/0.1588, allocations: 165.4 kB / 476.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.159, allocations: 132.5 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1592, allocations: 207.8 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.1593, allocations: 33.7 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1593, allocations: 108.1 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.1594, allocations: 27.64 kB / 477 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.1594, allocations: 33.72 kB / 477.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1596, allocations: 330.8 kB / 477.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.173e-05/0.1597, allocations: 27.98 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.1598, allocations: 65.14 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.16, allocations: 95.38 kB / 477.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.16, allocations: 0 / 477.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002475/0.1603, allocations: 137.9 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1603, allocations: 4 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1603, allocations: 0 / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1603, allocations: 4 kB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1605, allocations: 27.98 kB / 477.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1605, allocations: 0 / 477.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.1606, allocations: 19.94 kB / 477.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1606, allocations: 4 kB / 477.8 MB, free: 6.242 MB / 350.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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001307/0.1607, allocations: 137.7 kB / 477.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1607, allocations: 15.81 kB / 477.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.502e-05/0.1608, allocations: 28.92 kB / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1608, allocations: 0 / 478 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1608, allocations: 4 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1608, allocations: 4 kB / 478 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.161, allocations: 221.4 kB / 478.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.161, allocations: 3.984 kB / 478.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1611, allocations: 4 kB / 478.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1611, allocations: 4 kB / 478.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1611, allocations: 0 / 478.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1611, allocations: 0 / 478.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1611, allocations: 4 kB / 478.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.1614, allocations: 173.6 kB / 478.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.1615, allocations: 88.95 kB / 478.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1615, allocations: 4 kB / 478.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.1616, allocations: 4 kB / 478.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.1616, allocations: 11.98 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1617, allocations: 8 kB / 478.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1618, allocations: 157.5 kB / 478.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1618, allocations: 0 / 478.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1621, allocations: 47.92 kB / 478.7 MB, free: 5.238 MB / 350.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001049/0.1631, allocations: 451.6 kB / 479.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.1634, allocations: 83.91 kB / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1634, allocations: 0 / 479.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1635, allocations: 43.91 kB / 479.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1639, allocations: 68.48 kB / 479.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.1645, allocations: 271.7 kB / 479.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1648, allocations: 0.7164 MB / 480.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.18e-05/0.1649, allocations: 25.53 kB / 480.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.165, allocations: 27.42 kB / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.165, allocations: 0 / 480.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of Templates: time 0.005652/0.1706, allocations: 2.641 MB / 483 MB, free: 1.082 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches