Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001676/0.001676, allocations: 187 kB / 16.64 MB, free: 5.133 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 8.465 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.001111/0.001111, allocations: 101.5 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.4522/0.4522, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 56.11 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1384, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00358/0.1421, allocations: 1.76 MB / 488.8 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1435, allocations: 0.7924 MB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1437, allocations: 4 kB / 489.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.144, allocations: 43.81 kB / 489.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.1443, allocations: 47.83 kB / 489.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1446, allocations: 79.84 kB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1448, allocations: 91.69 kB / 489.8 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.1449, allocations: 16.22 kB / 489.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.145, allocations: 43.78 kB / 489.9 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.537e-05/0.1451, allocations: 35.78 kB / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1452, allocations: 0 / 489.9 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1453, allocations: 39.98 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1454, allocations: 23.92 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.956e-05/0.1454, allocations: 47.66 kB / 490 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1457, allocations: 107.9 kB / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1457, allocations: 0 / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1457, allocations: 0 / 490.1 MB, free: 9.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1457, allocations: 0 / 490.1 MB, free: 9.391 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.0006174/0.1464, allocations: 434.7 kB / 490.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1464, allocations: 12.03 kB / 490.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1465, allocations: 8.844 kB / 490.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1467, allocations: 212 kB / 490.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1468, allocations: 12.38 kB / 490.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1468, allocations: 4.125 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.147, allocations: 53.67 kB / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.147, allocations: 0 / 490.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.147, allocations: 4 kB / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.147, allocations: 0 / 490.9 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.621e-05/0.1471, allocations: 23.86 kB / 490.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1476, allocations: 292.8 kB / 491.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1478, allocations: 58.69 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.1478, allocations: 20.84 kB / 491.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1479, allocations: 11.97 kB / 491.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.1481, allocations: 67.33 kB / 491.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.1481, allocations: 4 kB / 491.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005928/0.1487, allocations: 173.1 kB / 491.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1488, allocations: 59.41 kB / 491.6 MB, free: 7.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.149, allocations: 218.7 kB / 491.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.149, allocations: 25.7 kB / 491.8 MB, free: 7.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.1491, allocations: 108.1 kB / 491.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.1491, allocations: 23.66 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.1492, allocations: 21.7 kB / 491.9 MB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1493, allocations: 334.8 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.1494, allocations: 20 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.1495, allocations: 37.7 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1496, allocations: 61.7 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1497, allocations: 384 / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.1499, allocations: 113.4 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1499, allocations: 7.984 kB / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1499, allocations: 0 / 492.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1499, allocations: 4 kB / 492.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.15, allocations: 19.94 kB / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.15, allocations: 0 / 492.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.1501, allocations: 7.922 kB / 492.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1501, allocations: 4 kB / 492.5 MB, free: 6.746 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.0001148/0.1502, allocations: 125.8 kB / 492.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1503, allocations: 19.92 kB / 492.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.06e-05/0.1503, allocations: 13.41 kB / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1503, allocations: 4 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1503, allocations: 0 / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1503, allocations: 3.938 kB / 492.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1508, allocations: 399.2 kB / 493.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.1508, allocations: 0 / 493.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.1509, allocations: 12 kB / 493.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1509, allocations: 4.219 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1509, allocations: 11.88 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1509, allocations: 3.938 kB / 493.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1509, allocations: 0 / 493.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.1515, allocations: 0.787 MB / 493.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.1516, allocations: 89 kB / 494 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1516, allocations: 4 kB / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.1517, allocations: 0 / 494 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1518, allocations: 7.984 kB / 494 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.1518, allocations: 8 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1519, allocations: 172.3 kB / 494.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.152, allocations: 0 / 494.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.1523, allocations: 23.98 kB / 494.2 MB, free: 4.926 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.001001/0.1533, allocations: 461.3 kB / 494.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1535, allocations: 67.83 kB / 494.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1536, allocations: 0 / 494.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.1536, allocations: 32 kB / 494.8 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.154, allocations: 28.58 kB / 494.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.1546, allocations: 415.6 kB / 495.2 MB, free: 3.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.155, allocations: 0.7121 MB / 495.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.155, allocations: 12.89 kB / 495.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.1551, allocations: 19.42 kB / 495.9 MB, free: 3.184 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1551, allocations: 4 kB / 495.9 MB, free: 3.18 MB / 378.7 MB Notification: Performance of Templates: time 0.004718/0.1598, allocations: 1.689 MB / 497.6 MB, free: 1.496 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches