Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001199, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001241/0.001241, allocations: 187 kB / 19.34 MB, free: 3.641 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.463/1.463, allocations: 222.9 MB / 243 MB, free: 15.06 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.2491/0.2491, allocations: 44.19 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 70.08 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002991/0.1413, allocations: 1.691 MB / 472.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1427, allocations: 0.8847 MB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.1427, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.143, allocations: 39.77 kB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1432, allocations: 47.77 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1435, allocations: 123.2 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1437, allocations: 91.77 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.1438, allocations: 12.22 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.1439, allocations: 39.8 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.1439, allocations: 27.84 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.144, allocations: 4 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.1441, allocations: 43.98 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.297e-05/0.1441, allocations: 19.86 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.1442, allocations: 39.72 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1444, allocations: 107.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1444, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1444, allocations: 0 / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1444, allocations: 0 / 473.9 MB, free: 10.46 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.0004823/0.1449, allocations: 407 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1449, allocations: 15.97 kB / 474.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.145, allocations: 8.844 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1452, allocations: 203.8 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1453, allocations: 8.375 kB / 474.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1453, allocations: 12.11 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1454, allocations: 57.67 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1455, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1455, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1455, allocations: 0 / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.1456, allocations: 19.98 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.1459, allocations: 284.8 kB / 474.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1461, allocations: 62.61 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1462, allocations: 20.86 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.1462, allocations: 0 / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1464, allocations: 71.36 kB / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.1464, allocations: 0 / 475 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005225/0.1469, allocations: 177.3 kB / 475.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.147, allocations: 55.41 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1471, allocations: 170.2 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1472, allocations: 25.7 kB / 475.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.1472, allocations: 100.1 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1473, allocations: 31.58 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1473, allocations: 21.72 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1475, allocations: 326.8 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1475, allocations: 23.98 kB / 475.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.1476, allocations: 33.7 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1477, allocations: 61.7 kB / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1478, allocations: 0 / 476 MB, free: 8.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1479, allocations: 105.5 kB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.148, allocations: 4 kB / 476.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.148, allocations: 4.031 kB / 476.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.148, allocations: 4 kB / 476.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.1481, allocations: 19.98 kB / 476.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1481, allocations: 3.938 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.1482, allocations: 7.938 kB / 476.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.1482, allocations: 4 kB / 476.2 MB, free: 7.922 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.0001131/0.1483, allocations: 126 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.1483, allocations: 7.906 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.1484, allocations: 20.66 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1484, allocations: 0 / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1484, allocations: 0 / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1484, allocations: 7.922 kB / 476.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.149, allocations: 387.3 kB / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.149, allocations: 0 / 476.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.1491, allocations: 8 kB / 476.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1491, allocations: 0 / 476.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1491, allocations: 7.938 kB / 476.7 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1491, allocations: 8.031 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1491, allocations: 0 / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.1494, allocations: 204.1 kB / 476.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.1495, allocations: 85 kB / 477 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1495, allocations: 11.94 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.1496, allocations: 0 / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.1497, allocations: 11.98 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1497, allocations: 4 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1498, allocations: 136.7 kB / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1498, allocations: 0 / 477.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1501, allocations: 24 kB / 477.2 MB, free: 6.785 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.001167/0.1513, allocations: 467.3 kB / 477.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1515, allocations: 55.92 kB / 477.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1515, allocations: 4 kB / 477.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.1516, allocations: 31.92 kB / 477.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.1521, allocations: 31.34 kB / 477.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.1528, allocations: 218.9 kB / 478 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.1532, allocations: 0.704 MB / 478.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.046e-05/0.1533, allocations: 8.891 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.1533, allocations: 23.42 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1534, allocations: 0 / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.005499/0.1589, allocations: 1.7 MB / 480.4 MB, free: 3.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches