Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.00107/0.00107, allocations: 86.64 kB / 267.5 MB, free: 14.12 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.2828/0.2828, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.682e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1414, allocations: 58.86 MB / 484.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6341, allocations: 87.58 MB / 0.5583 GB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.6346, allocations: 76.44 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02379/0.6584, allocations: 5.209 MB / 0.5635 GB, free: 11.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6584, allocations: 7.828 kB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.6585, allocations: 0 / 0.5635 GB, free: 11.59 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.0005779/0.6591, allocations: 392.9 kB / 0.5639 GB, free: 11.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.6591, allocations: 11.97 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.6592, allocations: 15.83 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.6596, allocations: 204.7 kB / 0.5641 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.6596, allocations: 0 / 0.5641 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.6597, allocations: 11.89 kB / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.6598, allocations: 52.81 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6599, allocations: 0 / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6599, allocations: 3.375 kB / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.6599, allocations: 0 / 0.5642 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.66, allocations: 19.67 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.6605, allocations: 296.2 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.6607, allocations: 58.5 kB / 0.5645 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.6607, allocations: 16.23 kB / 0.5645 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.6608, allocations: 4 kB / 0.5645 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.661, allocations: 67.89 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.661, allocations: 3.938 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006305/0.6616, allocations: 153.7 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6617, allocations: 58.59 kB / 0.5648 GB, free: 10.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.6619, allocations: 163.6 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.662, allocations: 25.7 kB / 0.565 GB, free: 9.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.6621, allocations: 163.4 kB / 0.5651 GB, free: 9.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.6621, allocations: 29.27 kB / 0.5652 GB, free: 9.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.6621, allocations: 0 / 0.5652 GB, free: 9.812 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6623, allocations: 313.7 kB / 0.5655 GB, free: 9.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.6623, allocations: 17.25 kB / 0.5655 GB, free: 9.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.6624, allocations: 40.09 kB / 0.5655 GB, free: 9.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.6625, allocations: 27.11 kB / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6625, allocations: 0 / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002229/0.6628, allocations: 92.16 kB / 0.5656 GB, free: 9.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6628, allocations: 8 kB / 0.5656 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6628, allocations: 0 / 0.5656 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6628, allocations: 0 / 0.5656 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.663, allocations: 12 kB / 0.5657 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.663, allocations: 7.953 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.6631, allocations: 11.64 kB / 0.5657 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.6632, allocations: 4.188 kB / 0.5657 GB, free: 9.312 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 ($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 8.927e-05/0.6633, allocations: 112.8 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.6633, allocations: 15.8 kB / 0.5658 GB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.6636, allocations: 124 kB / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6637, allocations: 0 / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6637, allocations: 0 / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.6637, allocations: 3.953 kB / 0.5659 GB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.6644, allocations: 404.1 kB / 0.5663 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6644, allocations: 0 / 0.5663 GB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.6645, allocations: 11.62 kB / 0.5663 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6645, allocations: 0 / 0.5663 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.6645, allocations: 4 kB / 0.5663 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.6645, allocations: 3.953 kB / 0.5663 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6645, allocations: 0 / 0.5663 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.6649, allocations: 216.3 kB / 0.5665 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-05/0.665, allocations: 96.59 kB / 0.5666 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.665, allocations: 11.89 kB / 0.5666 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.6652, allocations: 3.984 kB / 0.5666 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.6652, allocations: 7.625 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.6652, allocations: 4 kB / 0.5667 GB, free: 8.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.6654, allocations: 129.6 kB / 0.5668 GB, free: 8.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6654, allocations: 4 kB / 0.5668 GB, free: 8.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000366/0.6658, allocations: 31.62 kB / 0.5668 GB, free: 8.145 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) * 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.001294/0.6671, allocations: 429 kB / 0.5672 GB, free: 7.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.6673, allocations: 66.59 kB / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6674, allocations: 0 / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.6675, allocations: 27.31 kB / 0.5673 GB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.6679, allocations: 26.11 kB / 0.5673 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.6684, allocations: 182.8 kB / 0.5675 GB, free: 7.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.6688, allocations: 0.712 MB / 0.5682 GB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.771e-05/0.6688, allocations: 19.42 kB / 0.5682 GB, free: 6.734 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6689, allocations: 0 / 0.5682 GB, free: 6.734 MB / 378.7 MB Notification: Performance of Templates: time 0.00545/0.6743, allocations: 1.892 MB / 0.5701 GB, free: 4.852 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches