Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001231, allocations: 182.5 kB / 15.76 MB, free: 6.367 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.695/1.695, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009053/0.0009053, allocations: 98.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2039/0.2039, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003184, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1298, allocations: 58.85 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5569, allocations: 89.45 MB / 0.5661 GB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.5573, allocations: 81.33 kB / 0.5662 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.5721, allocations: 4.849 MB / 0.5709 GB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5721, allocations: 0 / 0.5709 GB, free: 6.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.5721, allocations: 4 kB / 0.5709 GB, free: 6.18 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009309/0.5731, allocations: 0.5629 MB / 0.5715 GB, free: 5.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5731, allocations: 8.562 kB / 0.5715 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.5732, allocations: 19.72 kB / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.5737, allocations: 250.2 kB / 0.5717 GB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.5737, allocations: 11.88 kB / 0.5718 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.5738, allocations: 7.562 kB / 0.5718 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.5742, allocations: 164.8 kB / 0.5719 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5742, allocations: 0 / 0.5719 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.5742, allocations: 4 kB / 0.5719 GB, free: 5.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5743, allocations: 4 kB / 0.5719 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.5747, allocations: 149.5 kB / 0.5721 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.5757, allocations: 0.5882 MB / 0.5726 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.5764, allocations: 182.8 kB / 0.5728 GB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5764, allocations: 4 kB / 0.5728 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.5768, allocations: 153.3 kB / 0.573 GB, free: 4.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.5768, allocations: 4 kB / 0.573 GB, free: 4.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009033/0.5778, allocations: 299.3 kB / 0.5733 GB, free: 3.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5778, allocations: 51.69 kB / 0.5733 GB, free: 3.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.578, allocations: 207.6 kB / 0.5735 GB, free: 3.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.5781, allocations: 28.7 kB / 0.5735 GB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.5782, allocations: 133.4 kB / 0.5737 GB, free: 3.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.5782, allocations: 38.64 kB / 0.5737 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.5782, allocations: 0 / 0.5737 GB, free: 3.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5784, allocations: 330.2 kB / 0.574 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.5786, allocations: 82.44 kB / 0.5741 GB, free: 2.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.5789, allocations: 125.8 kB / 0.5742 GB, free: 2.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.5792, allocations: 114.8 kB / 0.5743 GB, free: 2.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5792, allocations: 0 / 0.5743 GB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006368/0.5799, allocations: 279.6 kB / 0.5746 GB, free: 2.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.5799, allocations: 33.66 kB / 0.5746 GB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5799, allocations: 4 kB / 0.5746 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5799, allocations: 0 / 0.5746 GB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.5802, allocations: 52.02 kB / 0.5747 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5802, allocations: 0 / 0.5747 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5804, allocations: 31.02 kB / 0.5747 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.5804, allocations: 11.98 kB / 0.5747 GB, free: 2.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.5805, allocations: 133 kB / 0.5748 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.5806, allocations: 23.8 kB / 0.5749 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.5812, allocations: 240.3 kB / 0.5751 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5812, allocations: 0 / 0.5751 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5813, allocations: 7.938 kB / 0.5751 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5813, allocations: 3.938 kB / 0.5751 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.5815, allocations: 240.5 kB / 0.5753 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5815, allocations: 0 / 0.5753 GB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.5817, allocations: 35.97 kB / 0.5754 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5817, allocations: 0 / 0.5754 GB, free: 1.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5817, allocations: 7.359 kB / 0.5754 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.5817, allocations: 3.953 kB / 0.5754 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5817, allocations: 0 / 0.5754 GB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.5826, allocations: 348.4 kB / 0.5757 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.5827, allocations: 100.4 kB / 0.5758 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.5827, allocations: 7.125 kB / 0.5758 GB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.5829, allocations: 27.97 kB / 0.5758 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.583, allocations: 30.86 kB / 0.5759 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.583, allocations: 6.688 kB / 0.5759 GB, free: 1.242 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.5832, allocations: 164.5 kB / 0.576 GB, free: 1.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5832, allocations: 0 / 0.576 GB, free: 1.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.5835, allocations: 46.56 kB / 0.5761 GB, free: 1.066 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009421/0.5844, allocations: 438.3 kB / 0.5765 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.585, allocations: 243.1 kB / 0.5767 GB, free: 484 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5851, allocations: 3.938 kB / 0.5767 GB, free: 480 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.5853, allocations: 90.88 kB / 0.5768 GB, free: 404 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.5856, allocations: 43.45 kB / 0.5769 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.5863, allocations: 353.3 kB / 0.5772 GB, free: 8 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.5867, allocations: 0.7321 MB / 0.5779 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.51e-05/0.5868, allocations: 25.53 kB / 0.5779 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.5869, allocations: 19.44 kB / 0.578 GB, free: 15.21 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5869, allocations: 0 / 0.578 GB, free: 15.21 MB / 394.7 MB Notification: Performance of Templates: time 0.005773/0.5927, allocations: 2.579 MB / 0.5805 GB, free: 12.65 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches