Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.58 kB / 18.01 MB, free: 5.602 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.001397/0.001397, allocations: 181.6 kB / 18.91 MB, free: 4.738 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.378/1.378, allocations: 223.3 MB / 243 MB, free: 14.29 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.2339/0.2339, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004139, allocations: 13.94 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 61.91 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002274/0.1377, allocations: 1.421 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1392, allocations: 0.846 MB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1394, allocations: 3.938 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.1397, allocations: 31.91 kB / 475.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.1399, allocations: 51.83 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1402, allocations: 102.1 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1404, allocations: 91.7 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.1405, allocations: 4.234 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.1406, allocations: 43.77 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.2e-05/0.1407, allocations: 27.86 kB / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1407, allocations: 0 / 475.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1409, allocations: 39.98 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.1409, allocations: 31.84 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.141, allocations: 57.44 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1412, allocations: 92.08 kB / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1412, allocations: 0 / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1412, allocations: 0 / 475.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1412, allocations: 0 / 475.7 MB, free: 10.43 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005347/0.1417, allocations: 395.1 kB / 476.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1418, allocations: 12.03 kB / 476.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.1418, allocations: 12.75 kB / 476.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1421, allocations: 220.7 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1421, allocations: 4.375 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1421, allocations: 8.125 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1423, allocations: 53.67 kB / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1423, allocations: 0 / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1423, allocations: 0 / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1423, allocations: 0 / 476.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.1424, allocations: 19.98 kB / 476.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1428, allocations: 284.9 kB / 476.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.143, allocations: 62.61 kB / 476.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.1431, allocations: 20.84 kB / 476.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1431, allocations: 7.984 kB / 476.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1433, allocations: 75.3 kB / 476.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1433, allocations: 0 / 476.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.1438, allocations: 173.1 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1439, allocations: 55.41 kB / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1441, allocations: 195.3 kB / 477.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.1441, allocations: 25.7 kB / 477.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.1441, allocations: 104.1 kB / 477.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.1442, allocations: 23.7 kB / 477.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.1442, allocations: 13.72 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1443, allocations: 330.8 kB / 477.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.1444, allocations: 23.92 kB / 477.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.1445, allocations: 33.7 kB / 477.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1446, allocations: 61.7 kB / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1446, allocations: 0 / 477.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.1448, allocations: 101.5 kB / 478 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1448, allocations: 8 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1448, allocations: 3.938 kB / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1449, allocations: 0 / 478 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.1449, allocations: 15.98 kB / 478 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.145, allocations: 0 / 478 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.145, allocations: 12.31 kB / 478.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.145, allocations: 7.938 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001076/0.1451, allocations: 130.4 kB / 478.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1452, allocations: 15.81 kB / 478.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.1452, allocations: 17.58 kB / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1452, allocations: 0 / 478.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1452, allocations: 7.938 kB / 478.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1453, allocations: 7.938 kB / 478.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1457, allocations: 387.3 kB / 478.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1457, allocations: 0 / 478.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.1458, allocations: 12.03 kB / 478.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1458, allocations: 4 kB / 478.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1458, allocations: 7.922 kB / 478.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1458, allocations: 0 / 478.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1458, allocations: 4 kB / 478.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.146, allocations: 204.1 kB / 478.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.1461, allocations: 81.02 kB / 478.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1461, allocations: 11.94 kB / 478.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.1462, allocations: 11.98 kB / 478.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.1463, allocations: 3.984 kB / 478.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.1463, allocations: 4 kB / 479 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1464, allocations: 152.9 kB / 479.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1464, allocations: 0 / 479.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1467, allocations: 27.98 kB / 479.1 MB, free: 6.699 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001106/0.1478, allocations: 474.5 kB / 479.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.148, allocations: 59.91 kB / 479.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.148, allocations: 0 / 479.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.1481, allocations: 28.06 kB / 479.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1485, allocations: 31.97 kB / 479.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004862/0.149, allocations: 284 kB / 480 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.1493, allocations: 0.7121 MB / 480.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.1494, allocations: 15.44 kB / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1494, allocations: 0 / 480.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of Templates: time 0.004008/0.1534, allocations: 1.913 MB / 482.6 MB, free: 3.328 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches