Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 182.4 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.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001783/0.001783, allocations: 86.69 kB / 267.5 MB, free: 14.04 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.2938/0.2938, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.308e-05, allocations: 8 kB / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.6106, allocations: 87.58 MB / 0.5583 GB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.611, allocations: 77.77 kB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.6352, allocations: 5.263 MB / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6352, allocations: 0 / 0.5635 GB, free: 11.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.6352, allocations: 3.938 kB / 0.5636 GB, free: 11.51 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.0005624/0.6358, allocations: 399.6 kB / 0.5639 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6359, allocations: 8.031 kB / 0.5639 GB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.6359, allocations: 11.91 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.6363, allocations: 219.5 kB / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.6364, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.6364, allocations: 0 / 0.5642 GB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.6366, allocations: 59.42 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6366, allocations: 0 / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.6366, allocations: 0 / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6366, allocations: 4 kB / 0.5642 GB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.6367, allocations: 19.19 kB / 0.5642 GB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.6372, allocations: 292 kB / 0.5645 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.6374, allocations: 52.38 kB / 0.5646 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.6375, allocations: 16.67 kB / 0.5646 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6375, allocations: 8 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.6377, allocations: 70.39 kB / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.6377, allocations: 0 / 0.5647 GB, free: 10.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006481/0.6384, allocations: 164.8 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.6385, allocations: 51.41 kB / 0.5649 GB, free: 10.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.6387, allocations: 181.7 kB / 0.565 GB, free: 9.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.6388, allocations: 25.7 kB / 0.5651 GB, free: 9.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.6389, allocations: 169.1 kB / 0.5652 GB, free: 9.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.6389, allocations: 19.16 kB / 0.5652 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.6389, allocations: 0 / 0.5652 GB, free: 9.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6391, allocations: 318.4 kB / 0.5655 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.6392, allocations: 18.38 kB / 0.5656 GB, free: 9.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.287e-05/0.6393, allocations: 35.78 kB / 0.5656 GB, free: 9.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.6394, allocations: 22.98 kB / 0.5656 GB, free: 9.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6394, allocations: 0 / 0.5656 GB, free: 9.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000231/0.6396, allocations: 94.78 kB / 0.5657 GB, free: 9.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6397, allocations: 8 kB / 0.5657 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6397, allocations: 192 / 0.5657 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.6397, allocations: 3.984 kB / 0.5657 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.6399, allocations: 16 kB / 0.5657 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.6399, allocations: 7.953 kB / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.888e-05/0.64, allocations: 0 / 0.5657 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.64, allocations: 11.19 kB / 0.5658 GB, free: 9.215 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 0.0001097/0.6401, allocations: 120.2 kB / 0.5659 GB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.6402, allocations: 7.906 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.6405, allocations: 120.2 kB / 0.566 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6406, allocations: 0 / 0.566 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6406, allocations: 0 / 0.566 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.6406, allocations: 3.953 kB / 0.566 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.6412, allocations: 409.4 kB / 0.5664 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.6413, allocations: 0 / 0.5664 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.691e-05/0.6413, allocations: 19.34 kB / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6414, allocations: 0 / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6414, allocations: 0 / 0.5664 GB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.6414, allocations: 7.953 kB / 0.5664 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6414, allocations: 3.984 kB / 0.5664 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.6417, allocations: 212.3 kB / 0.5666 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.6418, allocations: 92.02 kB / 0.5667 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.6419, allocations: 8.328 kB / 0.5667 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.642, allocations: 7.297 kB / 0.5667 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.642, allocations: 4 kB / 0.5667 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.6421, allocations: 7.938 kB / 0.5667 GB, free: 8.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.6423, allocations: 146.9 kB / 0.5669 GB, free: 8.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6423, allocations: 0 / 0.5669 GB, free: 8.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.6426, allocations: 37.83 kB / 0.5669 GB, free: 8.031 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.001255/0.6439, allocations: 421.7 kB / 0.5673 GB, free: 7.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.6442, allocations: 60.17 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6442, allocations: 0 / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.6443, allocations: 38.73 kB / 0.5674 GB, free: 7.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.6447, allocations: 31.06 kB / 0.5674 GB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.6452, allocations: 192.6 kB / 0.5676 GB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.6455, allocations: 0.7078 MB / 0.5683 GB, free: 6.637 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.6456, allocations: 19.42 kB / 0.5683 GB, free: 6.617 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6456, allocations: 4.062 kB / 0.5683 GB, free: 6.613 MB / 378.7 MB Notification: Performance of Templates: time 0.005654/0.6513, allocations: 1.917 MB / 0.5702 GB, free: 4.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches