Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 89.44 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3428/0.3428, allocations: 43.5 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009505/0.0009507, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1326, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003888/0.1366, allocations: 1.764 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.138, allocations: 0.7846 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.473e-05/0.1381, allocations: 7.938 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1384, allocations: 47.86 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1387, allocations: 59.75 kB / 489.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1389, allocations: 79.78 kB / 489.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1391, allocations: 99.69 kB / 489.8 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1392, allocations: 12.22 kB / 489.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.223e-05/0.1393, allocations: 43.72 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.1394, allocations: 31.84 kB / 489.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1394, allocations: 4 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.453e-05/0.1395, allocations: 39.98 kB / 490 MB, free: 9.551 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1396, allocations: 35.83 kB / 490 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.1396, allocations: 43.67 kB / 490.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1398, allocations: 123.8 kB / 490.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1398, allocations: 7.938 kB / 490.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1398, allocations: 3.984 kB / 490.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1398, allocations: 0 / 490.2 MB, free: 9.34 MB / 378.7 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.0005207/0.1404, allocations: 434.7 kB / 490.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1404, allocations: 8.031 kB / 490.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1405, allocations: 12.84 kB / 490.6 MB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1407, allocations: 215.7 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1407, allocations: 8.375 kB / 490.9 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.1407, allocations: 8.125 kB / 490.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1409, allocations: 57.61 kB / 490.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1409, allocations: 0 / 490.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.1409, allocations: 0 / 490.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1409, allocations: 4 kB / 490.9 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.141, allocations: 15.98 kB / 490.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.1413, allocations: 300.8 kB / 491.2 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.1415, allocations: 58.62 kB / 491.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.1415, allocations: 20.84 kB / 491.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1416, allocations: 4 kB / 491.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1418, allocations: 59.39 kB / 491.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1418, allocations: 8 kB / 491.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000499/0.1423, allocations: 181 kB / 491.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1423, allocations: 59.34 kB / 491.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.1426, allocations: 255.7 kB / 491.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1426, allocations: 25.7 kB / 491.9 MB, free: 7.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.1427, allocations: 112.1 kB / 492 MB, free: 7.324 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1427, allocations: 31.62 kB / 492 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.1427, allocations: 21.72 kB / 492 MB, free: 7.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.1428, allocations: 334.8 kB / 492.4 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.1429, allocations: 20.36 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.143, allocations: 45.58 kB / 492.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1431, allocations: 57.7 kB / 492.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1431, allocations: 4 kB / 492.5 MB, free: 6.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.1433, allocations: 109.5 kB / 492.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1433, allocations: 4 kB / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1433, allocations: 0 / 492.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1433, allocations: 4 kB / 492.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.1434, allocations: 15.98 kB / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1434, allocations: 0 / 492.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.1435, allocations: 11.94 kB / 492.6 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1435, allocations: 0 / 492.6 MB, free: 6.645 MB / 378.7 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.0001088/0.1436, allocations: 137.8 kB / 492.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.1437, allocations: 19.84 kB / 492.8 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.169e-05/0.1437, allocations: 21.39 kB / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1437, allocations: 0 / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1437, allocations: 0 / 492.8 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.1438, allocations: 3.938 kB / 492.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1442, allocations: 407.2 kB / 493.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1442, allocations: 4 kB / 493.2 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1443, allocations: 4 kB / 493.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1443, allocations: 8.031 kB / 493.2 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1443, allocations: 3.938 kB / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1443, allocations: 0 / 493.2 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1443, allocations: 4 kB / 493.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.1449, allocations: 0.7909 MB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.1449, allocations: 92.92 kB / 494.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1449, allocations: 4 kB / 494.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.145, allocations: 4 kB / 494.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.1451, allocations: 15.91 kB / 494.1 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1451, allocations: 4 kB / 494.2 MB, free: 4.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.1453, allocations: 203 kB / 494.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1453, allocations: 0 / 494.3 MB, free: 4.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.1456, allocations: 27.98 kB / 494.4 MB, free: 4.758 MB / 378.7 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.0009859/0.1466, allocations: 468.4 kB / 494.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1468, allocations: 63.91 kB / 494.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1468, allocations: 0 / 494.9 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.1469, allocations: 28 kB / 494.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1473, allocations: 32.48 kB / 495 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.1479, allocations: 440.4 kB / 495.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.1482, allocations: 0.7121 MB / 496.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.1482, allocations: 20.86 kB / 496.1 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1483, allocations: 23.44 kB / 496.1 MB, free: 2.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1483, allocations: 3.938 kB / 496.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of Templates: time 0.004235/0.1525, allocations: 1.696 MB / 497.8 MB, free: 1.285 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches