Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00126/0.00126, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.342/1.342, allocations: 222.9 MB / 242.2 MB, free: 15.19 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.2259/0.2259, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 66.12 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1453, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004153/0.1495, allocations: 1.903 MB / 471.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1512, allocations: 0.9158 MB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1514, allocations: 3.938 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.1517, allocations: 43.75 kB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.152, allocations: 63.62 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1523, allocations: 127.5 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1525, allocations: 135.6 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1527, allocations: 29.48 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.923e-05/0.1528, allocations: 63.7 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.1529, allocations: 43.72 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1529, allocations: 8 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.153, allocations: 47.97 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1531, allocations: 27.86 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.1532, allocations: 51.67 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1534, allocations: 139.8 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1534, allocations: 8 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1534, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1534, allocations: 0 / 472.9 MB, free: 10.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006446/0.1541, allocations: 476.5 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1541, allocations: 12.02 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1542, allocations: 16.75 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1544, allocations: 223.9 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1545, allocations: 4.375 kB / 473.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1545, allocations: 16.12 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.1548, allocations: 108.1 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1548, allocations: 4 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1548, allocations: 4 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1548, allocations: 0 / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.155, allocations: 51.95 kB / 473.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.1556, allocations: 0.5087 MB / 474.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1559, allocations: 90.66 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.156, allocations: 36.78 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.156, allocations: 7.938 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.1563, allocations: 79.38 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1563, allocations: 0 / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004064/0.1567, allocations: 149.7 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1568, allocations: 55.34 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.157, allocations: 187.6 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.157, allocations: 29.64 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.1571, allocations: 120 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.1571, allocations: 23.62 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1572, allocations: 29.7 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1573, allocations: 330.8 kB / 475.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.1574, allocations: 27.98 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1575, allocations: 64.2 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.1577, allocations: 104.2 kB / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.1577, allocations: 0 / 475.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000286/0.158, allocations: 129.4 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1581, allocations: 4 kB / 475.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1581, allocations: 3.984 kB / 475.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1581, allocations: 8.125 kB / 475.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1582, allocations: 31.88 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1582, allocations: 3.984 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.1583, allocations: 7.938 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1583, allocations: 4 kB / 475.8 MB, free: 7.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001324/0.1584, allocations: 125.8 kB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.1585, allocations: 15.8 kB / 475.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.1585, allocations: 17.41 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1585, allocations: 11.94 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1586, allocations: 0 / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1586, allocations: 0 / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1587, allocations: 205.6 kB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1587, allocations: 3.938 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.1588, allocations: 11.98 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1588, allocations: 96 / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1589, allocations: 11.94 kB / 476.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1589, allocations: 7.922 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1589, allocations: 0 / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003804/0.1593, allocations: 188.8 kB / 476.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.1593, allocations: 96.89 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1594, allocations: 0 / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.1594, allocations: 15.92 kB / 476.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.1595, allocations: 4 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.1595, allocations: 4 kB / 476.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1596, allocations: 141.3 kB / 476.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1597, allocations: 4 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1599, allocations: 20 kB / 476.6 MB, free: 6.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009736/0.1609, allocations: 412.6 kB / 477 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1612, allocations: 83.84 kB / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1612, allocations: 256 / 477.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1613, allocations: 43.91 kB / 477.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1616, allocations: 35.98 kB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/0.1622, allocations: 271.8 kB / 477.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1625, allocations: 0.7123 MB / 478.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.1626, allocations: 17.42 kB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1627, allocations: 19.44 kB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1627, allocations: 3.938 kB / 478.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Templates: time 0.005349/0.168, allocations: 1.885 MB / 480.1 MB, free: 3.238 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches