Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.722/1.722, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007598/0.0007597, allocations: 83.41 kB / 271.9 MB, free: 8.254 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.3935/0.3935, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005512, allocations: 16 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1608, allocations: 58.86 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5483, allocations: 87.76 MB / 0.5656 GB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5486, allocations: 82.8 kB / 0.5657 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.5637, allocations: 5.448 MB / 0.571 GB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5637, allocations: 0 / 0.571 GB, free: 9.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.5637, allocations: 8 kB / 0.571 GB, free: 9.02 MB / 394.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.0005599/0.5643, allocations: 418 kB / 0.5714 GB, free: 8.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5644, allocations: 8.031 kB / 0.5715 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.721e-05/0.5644, allocations: 16.75 kB / 0.5715 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.5648, allocations: 220.7 kB / 0.5717 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5648, allocations: 12.36 kB / 0.5717 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5648, allocations: 4.375 kB / 0.5717 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.565, allocations: 58.23 kB / 0.5718 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.565, allocations: 192 / 0.5718 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.565, allocations: 3.938 kB / 0.5718 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.565, allocations: 0 / 0.5718 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.5651, allocations: 23.92 kB / 0.5718 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.5655, allocations: 300.9 kB / 0.5721 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.5657, allocations: 54.62 kB / 0.5721 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.5658, allocations: 24.84 kB / 0.5721 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5658, allocations: 0 / 0.5721 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.566, allocations: 79.23 kB / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.566, allocations: 0 / 0.5722 GB, free: 7.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.5665, allocations: 169.2 kB / 0.5724 GB, free: 7.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.5666, allocations: 59.33 kB / 0.5724 GB, free: 7.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.5669, allocations: 197.7 kB / 0.5726 GB, free: 7.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5669, allocations: 29.7 kB / 0.5727 GB, free: 7.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.567, allocations: 104.1 kB / 0.5728 GB, free: 7.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.567, allocations: 31.64 kB / 0.5728 GB, free: 7.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.567, allocations: 0 / 0.5728 GB, free: 7.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5671, allocations: 330.8 kB / 0.5731 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.5672, allocations: 15.98 kB / 0.5731 GB, free: 6.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.871e-05/0.5673, allocations: 38.45 kB / 0.5731 GB, free: 6.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.5674, allocations: 58.48 kB / 0.5732 GB, free: 6.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5674, allocations: 11.94 kB / 0.5732 GB, free: 6.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001846/0.5676, allocations: 101.6 kB / 0.5733 GB, free: 6.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5676, allocations: 8.188 kB / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5677, allocations: 0 / 0.5733 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5677, allocations: 3.938 kB / 0.5733 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.987e-05/0.5678, allocations: 15.94 kB / 0.5733 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5678, allocations: 4.141 kB / 0.5733 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.5678, allocations: 4 kB / 0.5733 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5679, allocations: 4 kB / 0.5734 GB, free: 6.426 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.568, allocations: 137.8 kB / 0.5735 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.568, allocations: 15.81 kB / 0.5735 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.5683, allocations: 123 kB / 0.5736 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5683, allocations: 0 / 0.5736 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5683, allocations: 0 / 0.5736 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5683, allocations: 0 / 0.5736 GB, free: 6.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.5689, allocations: 423.2 kB / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5689, allocations: 384 / 0.574 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.5689, allocations: 8 kB / 0.574 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.569, allocations: 11.94 kB / 0.574 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.569, allocations: 4 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.569, allocations: 0 / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.569, allocations: 3.938 kB / 0.574 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.5693, allocations: 216.2 kB / 0.5743 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.5694, allocations: 89.02 kB / 0.5743 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.5694, allocations: 4 kB / 0.5743 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.5695, allocations: 7.984 kB / 0.5743 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.5695, allocations: 11.88 kB / 0.5744 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.5696, allocations: 7.984 kB / 0.5744 GB, free: 5.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001582/0.5697, allocations: 156.9 kB / 0.5745 GB, free: 5.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5697, allocations: 0 / 0.5745 GB, free: 5.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.57, allocations: 31.94 kB / 0.5745 GB, free: 5.09 MB / 394.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 (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.001251/0.5713, allocations: 473.4 kB / 0.575 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5715, allocations: 63.91 kB / 0.5751 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5716, allocations: 4.062 kB / 0.5751 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.5717, allocations: 39.91 kB / 0.5751 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.5721, allocations: 19.98 kB / 0.5751 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.5728, allocations: 290.1 kB / 0.5754 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.5732, allocations: 0.7083 MB / 0.5761 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.5733, allocations: 15.44 kB / 0.5761 GB, free: 3.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5733, allocations: 0 / 0.5761 GB, free: 3.543 MB / 394.7 MB Notification: Performance of Templates: time 0.004016/0.5773, allocations: 1.959 MB / 0.578 GB, free: 1.594 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches