Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.982/1.982, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3005/0.3005, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.675e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5508/0.5509, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.7477, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.7481, allocations: 75.95 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.7714, allocations: 5.452 MB / 0.5562 GB, free: 6.82 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.7714, allocations: 0 / 0.5562 GB, free: 6.82 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.7715, allocations: 0 / 0.5562 GB, free: 6.82 MB / 395.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.0005552/0.772, allocations: 398.2 kB / 0.5566 GB, free: 6.387 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7721, allocations: 16.02 kB / 0.5566 GB, free: 6.371 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.7722, allocations: 11.81 kB / 0.5566 GB, free: 6.359 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.7726, allocations: 218.8 kB / 0.5569 GB, free: 6.105 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.7726, allocations: 3.984 kB / 0.5569 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.7727, allocations: 0 / 0.5569 GB, free: 6.102 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.491e-05/0.7728, allocations: 20 kB / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.7729, allocations: 57.61 kB / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7729, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.773, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.773, allocations: 0 / 0.5569 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.7734, allocations: 273.4 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.7736, allocations: 50.69 kB / 0.5572 GB, free: 5.656 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.7737, allocations: 24.97 kB / 0.5573 GB, free: 5.629 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.7737, allocations: 3.938 kB / 0.5573 GB, free: 5.625 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.7738, allocations: 63.41 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.7739, allocations: 3.938 kB / 0.5573 GB, free: 5.547 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.7744, allocations: 161.1 kB / 0.5575 GB, free: 5.383 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.7745, allocations: 51.41 kB / 0.5575 GB, free: 5.32 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.7748, allocations: 189.5 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.7748, allocations: 29.7 kB / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.7749, allocations: 162.6 kB / 0.5579 GB, free: 4.93 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.7749, allocations: 15.72 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.775, allocations: 0 / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.7751, allocations: 322.8 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.568e-05/0.7752, allocations: 16 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.7752, allocations: 29.72 kB / 0.5583 GB, free: 4.539 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.7753, allocations: 23.98 kB / 0.5583 GB, free: 4.516 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7754, allocations: 0 / 0.5583 GB, free: 4.516 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.7756, allocations: 89.53 kB / 0.5584 GB, free: 4.422 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7756, allocations: 4.188 kB / 0.5584 GB, free: 4.418 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7756, allocations: 3.984 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7756, allocations: 3.938 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.7758, allocations: 19.98 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7758, allocations: 0 / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.7759, allocations: 7.938 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.7759, allocations: 3.953 kB / 0.5584 GB, free: 4.379 MB / 395.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.776, allocations: 116.9 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.7761, allocations: 7.906 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003089/0.7764, allocations: 107.5 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.7764, allocations: 0 / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7764, allocations: 8.109 kB / 0.5586 GB, free: 4.133 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7764, allocations: 0 / 0.5586 GB, free: 4.133 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005816/0.777, allocations: 395.8 kB / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.777, allocations: 0 / 0.559 GB, free: 3.699 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.7771, allocations: 11.94 kB / 0.559 GB, free: 3.688 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.7772, allocations: 4 kB / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7772, allocations: 0 / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7772, allocations: 0 / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7772, allocations: 0 / 0.559 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.7775, allocations: 221.9 kB / 0.5592 GB, free: 3.441 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.7776, allocations: 92.92 kB / 0.5593 GB, free: 3.332 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.7777, allocations: 7.938 kB / 0.5593 GB, free: 3.324 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.7778, allocations: 3.984 kB / 0.5593 GB, free: 3.32 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.7778, allocations: 7.953 kB / 0.5594 GB, free: 3.312 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.7779, allocations: 8 kB / 0.5594 GB, free: 3.305 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.7781, allocations: 156.2 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7781, allocations: 0 / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.7785, allocations: 28 kB / 0.5595 GB, free: 3.125 MB / 395.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001122/0.7796, allocations: 405 kB / 0.5599 GB, free: 2.762 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.7798, allocations: 63.91 kB / 0.56 GB, free: 2.699 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7798, allocations: 0 / 0.56 GB, free: 2.699 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.7799, allocations: 27.94 kB / 0.56 GB, free: 2.672 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.7803, allocations: 23.84 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.7808, allocations: 211.8 kB / 0.5602 GB, free: 2.41 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.7812, allocations: 0.712 MB / 0.5609 GB, free: 1.672 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.773e-05/0.7812, allocations: 15.44 kB / 0.5609 GB, free: 1.656 MB / 395.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7813, allocations: 0 / 0.5609 GB, free: 1.656 MB / 395.1 MB Notification: Performance of Templates: time 0.005441/0.7867, allocations: 1.99 MB / 0.5629 GB, free: 15.67 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches