Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 194.5 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008074/0.0008076, allocations: 97.67 kB / 296.1 MB, free: 6.871 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3449/0.3449, allocations: 44.82 MB / 392.9 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003079, allocations: 12 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4015, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.5261, allocations: 90.65 MB / 0.605 GB, free: 14.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.5265, allocations: 75.97 kB / 0.6051 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01842/0.545, allocations: 6.501 MB / 0.6114 GB, free: 8.121 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.545, allocations: 0 / 0.6114 GB, free: 8.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.545, allocations: 4 kB / 0.6114 GB, free: 8.117 MB / 426.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.0006251/0.5457, allocations: 450.9 kB / 0.6119 GB, free: 7.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5457, allocations: 8.031 kB / 0.6119 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.5458, allocations: 16.75 kB / 0.6119 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.5461, allocations: 212.8 kB / 0.6121 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5461, allocations: 8.359 kB / 0.6121 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.5462, allocations: 4.375 kB / 0.6121 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.5463, allocations: 58.17 kB / 0.6122 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5463, allocations: 192 / 0.6122 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5464, allocations: 11.86 kB / 0.6122 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5464, allocations: 4 kB / 0.6122 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.784e-05/0.5464, allocations: 23.98 kB / 0.6122 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.5469, allocations: 300.8 kB / 0.6125 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.547, allocations: 62.56 kB / 0.6125 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.5471, allocations: 20.84 kB / 0.6126 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.5471, allocations: 4 kB / 0.6126 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.5473, allocations: 67.39 kB / 0.6126 GB, free: 6.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5473, allocations: 0 / 0.6126 GB, free: 6.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.5479, allocations: 185.1 kB / 0.6128 GB, free: 6.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5479, allocations: 51.41 kB / 0.6129 GB, free: 6.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.5482, allocations: 196.4 kB / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5482, allocations: 25.7 kB / 0.6131 GB, free: 6.242 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.5483, allocations: 108.1 kB / 0.6132 GB, free: 6.133 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.5483, allocations: 19.72 kB / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5483, allocations: 0 / 0.6132 GB, free: 6.113 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5484, allocations: 330.8 kB / 0.6135 GB, free: 5.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.5485, allocations: 23.92 kB / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.5486, allocations: 41.64 kB / 0.6136 GB, free: 5.711 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.5487, allocations: 61.77 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5487, allocations: 4 kB / 0.6136 GB, free: 5.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.5489, allocations: 113.4 kB / 0.6137 GB, free: 5.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5489, allocations: 8 kB / 0.6137 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5489, allocations: 0 / 0.6137 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.549, allocations: 0 / 0.6137 GB, free: 5.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.5491, allocations: 12 kB / 0.6138 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5491, allocations: 3.984 kB / 0.6138 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.5491, allocations: 4 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5491, allocations: 4 kB / 0.6138 GB, free: 5.492 MB / 426.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.0001135/0.5493, allocations: 129.7 kB / 0.6139 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.5493, allocations: 23.86 kB / 0.6139 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.5495, allocations: 115.2 kB / 0.614 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5496, allocations: 96 / 0.614 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5496, allocations: 3.938 kB / 0.614 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5496, allocations: 3.938 kB / 0.614 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004788/0.5501, allocations: 415.2 kB / 0.6144 GB, free: 4.742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.5501, allocations: 4 kB / 0.6144 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.5501, allocations: 15.97 kB / 0.6144 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5501, allocations: 0 / 0.6144 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5502, allocations: 0 / 0.6144 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5502, allocations: 4.375 kB / 0.6144 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5502, allocations: 3.938 kB / 0.6145 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.5504, allocations: 212.2 kB / 0.6147 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.5505, allocations: 92.92 kB / 0.6147 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.5505, allocations: 12 kB / 0.6148 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.5506, allocations: 3.984 kB / 0.6148 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.5506, allocations: 7.938 kB / 0.6148 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.5507, allocations: 7.984 kB / 0.6148 GB, free: 4.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.5508, allocations: 151.2 kB / 0.6149 GB, free: 4.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5508, allocations: 0 / 0.6149 GB, free: 4.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000266/0.5511, allocations: 32 kB / 0.6149 GB, free: 4.168 MB / 426.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.001044/0.5521, allocations: 471.7 kB / 0.6154 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5523, allocations: 63.95 kB / 0.6155 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5523, allocations: 0 / 0.6155 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.5524, allocations: 39.98 kB / 0.6155 GB, free: 3.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.5528, allocations: 19.98 kB / 0.6155 GB, free: 3.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.5532, allocations: 291.8 kB / 0.6158 GB, free: 3.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.5535, allocations: 0.7043 MB / 0.6165 GB, free: 2.699 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.5536, allocations: 19.44 kB / 0.6165 GB, free: 2.68 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5536, allocations: 0 / 0.6165 GB, free: 2.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003683/0.5573, allocations: 1.978 MB / 0.6184 GB, free: 0.707 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches