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.001347/0.001346, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001158/0.001159, allocations: 192 kB / 19.34 MB, free: 3.766 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.471/1.471, allocations: 222.9 MB / 243 MB, free: 15.14 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.2578/0.2578, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 70.73 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 60.84 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002722/0.1415, allocations: 1.69 MB / 472.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1427, allocations: 0.8808 MB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.1428, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.143, allocations: 39.81 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1432, allocations: 67.62 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1434, allocations: 110.6 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1435, allocations: 99.67 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.973e-05/0.1436, allocations: 8.234 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.748e-05/0.1437, allocations: 39.8 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.1438, allocations: 31.83 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1438, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.239e-05/0.1439, allocations: 43.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1439, allocations: 19.94 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.144, allocations: 47.7 kB / 473.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.1441, allocations: 115.6 kB / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.1441, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.1441, allocations: 0 / 473.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1441, allocations: 0 / 473.9 MB, free: 10.44 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.0004138/0.1446, allocations: 418.9 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.1446, allocations: 8.031 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.1446, allocations: 8.844 kB / 474.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.1449, allocations: 210.7 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1449, allocations: 8.375 kB / 474.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.145, allocations: 4.125 kB / 474.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.1451, allocations: 61.61 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1451, allocations: 0 / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1451, allocations: 4 kB / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-06/0.1451, allocations: 0 / 474.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.1452, allocations: 15.98 kB / 474.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.1455, allocations: 292.8 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1457, allocations: 62.61 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.1458, allocations: 16.86 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1458, allocations: 0 / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.1459, allocations: 75.36 kB / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1459, allocations: 4 kB / 475.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004802/0.1464, allocations: 169.2 kB / 475.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1465, allocations: 51.41 kB / 475.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1466, allocations: 199.3 kB / 475.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1467, allocations: 33.69 kB / 475.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.1467, allocations: 100.1 kB / 475.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.1468, allocations: 27.64 kB / 475.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1468, allocations: 25.72 kB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1469, allocations: 326.8 kB / 476 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-05/0.147, allocations: 19.98 kB / 476 MB, free: 8.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.1471, allocations: 45.58 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.1472, allocations: 57.78 kB / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1472, allocations: 0 / 476.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.1474, allocations: 109.5 kB / 476.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1474, allocations: 4 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1474, allocations: 0 / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.1474, allocations: 0 / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.1475, allocations: 19.98 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1475, allocations: 0 / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1475, allocations: 11.94 kB / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1476, allocations: 0 / 476.2 MB, free: 7.855 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 9.382e-05/0.1476, allocations: 129.8 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.1477, allocations: 15.84 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.1477, allocations: 13.41 kB / 476.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1477, allocations: 4 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1477, allocations: 4.359 kB / 476.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1478, allocations: 3.938 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1482, allocations: 391.3 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1482, allocations: 4 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1482, allocations: 8 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1482, allocations: 4.031 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1483, allocations: 7.938 kB / 476.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1483, allocations: 7.984 kB / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1483, allocations: 0 / 476.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1485, allocations: 200.1 kB / 477 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.1485, allocations: 93 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.1486, allocations: 3.938 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1486, allocations: 8 kB / 477.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.1487, allocations: 3.984 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1487, allocations: 7.938 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1488, allocations: 151.9 kB / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1488, allocations: 0 / 477.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1491, allocations: 24 kB / 477.3 MB, free: 6.688 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.0009357/0.15, allocations: 471 kB / 477.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1502, allocations: 55.92 kB / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.1502, allocations: 0 / 477.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.305e-05/0.1502, allocations: 31.92 kB / 477.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1505, allocations: 28.41 kB / 477.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.1509, allocations: 239.1 kB / 478.1 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1512, allocations: 0.7041 MB / 478.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.1513, allocations: 16.88 kB / 478.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.1513, allocations: 15.44 kB / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1513, allocations: 0 / 478.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of Templates: time 0.003684/0.155, allocations: 1.719 MB / 480.6 MB, free: 3.562 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 -s cvode -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