Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009937/0.0009938, allocations: 199.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007943/0.0007944, allocations: 99.73 kB / 296.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3614/0.3614, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003085, allocations: 12 kB / 465.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3909, allocations: 62.96 MB / 0.5165 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.5219, allocations: 90.87 MB / 0.6052 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5222, allocations: 75.97 kB / 0.6053 GB, free: 14.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.019/0.5412, allocations: 7.25 MB / 0.6124 GB, free: 7.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5412, allocations: 7.938 kB / 0.6124 GB, free: 7.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.5413, allocations: 0 / 0.6124 GB, free: 7.191 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.0005889/0.5419, allocations: 435 kB / 0.6128 GB, free: 6.715 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.5419, allocations: 16.02 kB / 0.6128 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.542, allocations: 12.75 kB / 0.6128 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.5423, allocations: 210.9 kB / 0.613 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5423, allocations: 8.375 kB / 0.613 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.5423, allocations: 384 / 0.613 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.5425, allocations: 71.52 kB / 0.6131 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5425, allocations: 7.984 kB / 0.6131 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5425, allocations: 0 / 0.6131 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5426, allocations: 0 / 0.6131 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.5426, allocations: 19.98 kB / 0.6131 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.543, allocations: 300.8 kB / 0.6134 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5432, allocations: 58.67 kB / 0.6135 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.5433, allocations: 24.84 kB / 0.6135 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.5433, allocations: 4 kB / 0.6135 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.5435, allocations: 67.33 kB / 0.6136 GB, free: 5.809 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.815e-06/0.5435, allocations: 0 / 0.6136 GB, free: 5.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.544, allocations: 177.2 kB / 0.6137 GB, free: 5.629 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.5441, allocations: 89.03 kB / 0.6138 GB, free: 5.523 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.5443, allocations: 171.2 kB / 0.614 GB, free: 5.348 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.5443, allocations: 33.64 kB / 0.614 GB, free: 5.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.5444, allocations: 92.14 kB / 0.6141 GB, free: 5.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5444, allocations: 27.64 kB / 0.6141 GB, free: 5.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5444, allocations: 4 kB / 0.6141 GB, free: 5.184 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5445, allocations: 326.8 kB / 0.6144 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.5446, allocations: 19.98 kB / 0.6145 GB, free: 4.836 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.5447, allocations: 46.56 kB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.5448, allocations: 65.64 kB / 0.6146 GB, free: 4.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.5448, allocations: 0 / 0.6146 GB, free: 4.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.545, allocations: 89.59 kB / 0.6147 GB, free: 4.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.545, allocations: 8 kB / 0.6147 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.545, allocations: 0 / 0.6147 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.545, allocations: 0 / 0.6147 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5451, allocations: 23.98 kB / 0.6147 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5452, allocations: 4 kB / 0.6147 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.143e-05/0.5452, allocations: 4 kB / 0.6147 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.5452, allocations: 4 kB / 0.6147 GB, free: 4.574 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 9.307e-05/0.5453, allocations: 125.8 kB / 0.6148 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.5454, allocations: 11.81 kB / 0.6148 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.5456, allocations: 114.3 kB / 0.6149 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5456, allocations: 4.375 kB / 0.6149 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5456, allocations: 4 kB / 0.6149 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5456, allocations: 0 / 0.6149 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.5461, allocations: 419.4 kB / 0.6153 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5461, allocations: 0 / 0.6153 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.5462, allocations: 8 kB / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5462, allocations: 0 / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.5462, allocations: 11.98 kB / 0.6154 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5462, allocations: 3.938 kB / 0.6154 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5462, allocations: 4.031 kB / 0.6154 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.5464, allocations: 208.5 kB / 0.6156 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/0.5465, allocations: 96.91 kB / 0.6157 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.5466, allocations: 4 kB / 0.6157 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.5466, allocations: 7.875 kB / 0.6157 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5467, allocations: 19.91 kB / 0.6157 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5467, allocations: 8 kB / 0.6157 GB, free: 3.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.5468, allocations: 123.2 kB / 0.6158 GB, free: 3.309 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5468, allocations: 4 kB / 0.6158 GB, free: 3.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.5472, allocations: 59.92 kB / 0.6159 GB, free: 3.246 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.001269/0.5484, allocations: 0.5481 MB / 0.6164 GB, free: 2.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.5487, allocations: 71.88 kB / 0.6165 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5487, allocations: 0 / 0.6165 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.5488, allocations: 35.92 kB / 0.6165 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.5491, allocations: 22.33 kB / 0.6165 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.5496, allocations: 247.9 kB / 0.6168 GB, free: 2.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.5499, allocations: 0.7004 MB / 0.6175 GB, free: 1.754 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.5499, allocations: 23.42 kB / 0.6175 GB, free: 1.73 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5499, allocations: 4 kB / 0.6175 GB, free: 1.727 MB / 426.7 MB Notification: Performance of Templates: time 0.004171/0.5541, allocations: 2.391 MB / 0.6198 GB, free: 15.34 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches