Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108.3 kB / 18.41 MB, free: 4.566 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.001266/0.001266, 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.501/1.501, allocations: 222.9 MB / 243 MB, free: 15.09 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.2722/0.2722, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001476, allocations: 64.34 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1447, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002906/0.1476, allocations: 1.646 MB / 472.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1489, allocations: 0.8613 MB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.149, allocations: 4 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.1492, allocations: 59.73 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1494, allocations: 71.72 kB / 473.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1496, allocations: 103.6 kB / 473.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.1497, allocations: 95.69 kB / 473.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.185e-05/0.1498, allocations: 11.98 kB / 473.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.1499, allocations: 51.77 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.1499, allocations: 43.83 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.15, allocations: 0 / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.15, allocations: 31.98 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.1501, allocations: 23.92 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.1501, allocations: 27.81 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1503, allocations: 107.6 kB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1503, allocations: 0 / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1503, allocations: 4 kB / 473.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1503, allocations: 0 / 473.9 MB, free: 10.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003744/0.1507, allocations: 399 kB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.382e-05/0.1507, allocations: 8.031 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1508, allocations: 8.844 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.151, allocations: 212.1 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.151, allocations: 384 / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.151, allocations: 4.125 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.766e-05/0.1511, allocations: 53.67 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1511, allocations: 3.938 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.1511, allocations: 3.938 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-06/0.1511, allocations: 0 / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.1512, allocations: 12 kB / 474.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1514, allocations: 189.5 kB / 474.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.1515, allocations: 46.62 kB / 474.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.1516, allocations: 28.78 kB / 474.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1516, allocations: 4 kB / 474.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.1517, allocations: 67.33 kB / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1517, allocations: 0 / 474.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002445/0.152, allocations: 93.58 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.152, allocations: 55.41 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1522, allocations: 194.1 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1522, allocations: 25.7 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1523, allocations: 96.14 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1523, allocations: 19.8 kB / 475.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1524, allocations: 17.72 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1525, allocations: 322.8 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.1525, allocations: 19.92 kB / 475.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.665e-05/0.1526, allocations: 25.72 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.1527, allocations: 45.7 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1527, allocations: 0 / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.1528, allocations: 81.47 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1529, allocations: 8 kB / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1529, allocations: 0 / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.1529, allocations: 0 / 475.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.998e-05/0.1529, allocations: 16.02 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.153, allocations: 4 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.163e-05/0.153, allocations: 4 kB / 475.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.153, allocations: 4 kB / 475.9 MB, free: 8.234 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 (7): * Single equations (assignments): 7 * 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.882e-05/0.1531, allocations: 125.8 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.1531, allocations: 11.84 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.1532, allocations: 16.41 kB / 476 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1532, allocations: 3.984 kB / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1532, allocations: 0 / 476 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1532, allocations: 11.98 kB / 476 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1533, allocations: 185.5 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1534, allocations: 0 / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.1534, allocations: 4 kB / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1534, allocations: 0 / 476.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1534, allocations: 4.312 kB / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1534, allocations: 0 / 476.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1534, allocations: 7.984 kB / 476.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1536, allocations: 116.9 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.1536, allocations: 88.95 kB / 476.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1537, allocations: 3.984 kB / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.1537, allocations: 0 / 476.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.1537, allocations: 4 kB / 476.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.1537, allocations: 3.938 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1539, allocations: 143.2 kB / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1539, allocations: 0 / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1541, allocations: 16 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0009096/0.155, allocations: 410.9 kB / 477 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1551, allocations: 47.91 kB / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1552, allocations: 0 / 477.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.703e-05/0.1552, allocations: 19.94 kB / 477.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1555, allocations: 31.42 kB / 477.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.1558, allocations: 198.2 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.1561, allocations: 0.7002 MB / 478 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.1562, allocations: 12.55 kB / 478 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1562, allocations: 11.44 kB / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1562, allocations: 0 / 478 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Templates: time 0.003664/0.1599, allocations: 1.478 MB / 479.5 MB, free: 4.621 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches