Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 226.5 MB / 245.4 MB, free: 8.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008268/0.0008268, allocations: 103.7 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3376/0.3376, allocations: 44.82 MB / 394.3 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002438/0.000244, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3182, allocations: 62.97 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1216/0.4399, allocations: 90.64 MB / 0.6069 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4402, allocations: 83.94 kB / 0.607 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.459, allocations: 6.467 MB / 0.6133 GB, free: 8.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.459, allocations: 4 kB / 0.6133 GB, free: 8.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.367e-05/0.459, allocations: 4 kB / 0.6133 GB, free: 8.062 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.000705/0.4598, allocations: 438.9 kB / 0.6138 GB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.4598, allocations: 12.03 kB / 0.6138 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.4599, allocations: 12.84 kB / 0.6138 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.4603, allocations: 221.8 kB / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4603, allocations: 384 / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4603, allocations: 8.312 kB / 0.614 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.4605, allocations: 58.23 kB / 0.6141 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4605, allocations: 192 / 0.6141 GB, free: 7.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4605, allocations: 3.938 kB / 0.6141 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4605, allocations: 0 / 0.6141 GB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.4606, allocations: 23.98 kB / 0.6141 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.4611, allocations: 292.9 kB / 0.6144 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4613, allocations: 70.55 kB / 0.6144 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.4614, allocations: 20.84 kB / 0.6145 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4614, allocations: 0 / 0.6145 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.4616, allocations: 67.39 kB / 0.6145 GB, free: 6.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.4616, allocations: 0 / 0.6145 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006295/0.4622, allocations: 177.2 kB / 0.6147 GB, free: 6.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4623, allocations: 59.39 kB / 0.6147 GB, free: 6.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.4625, allocations: 179.4 kB / 0.6149 GB, free: 6.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4625, allocations: 25.7 kB / 0.6149 GB, free: 6.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.4626, allocations: 104.1 kB / 0.615 GB, free: 6.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.4626, allocations: 27.64 kB / 0.6151 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.4626, allocations: 3.938 kB / 0.6151 GB, free: 6.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4628, allocations: 326.8 kB / 0.6154 GB, free: 5.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.459e-05/0.4628, allocations: 31.92 kB / 0.6154 GB, free: 5.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.4629, allocations: 37.64 kB / 0.6155 GB, free: 5.684 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.463, allocations: 61.78 kB / 0.6155 GB, free: 5.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.463, allocations: 0 / 0.6155 GB, free: 5.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.4632, allocations: 109.4 kB / 0.6156 GB, free: 5.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4633, allocations: 4 kB / 0.6156 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4633, allocations: 0 / 0.6156 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4633, allocations: 4.031 kB / 0.6156 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.4634, allocations: 23.98 kB / 0.6156 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.4634, allocations: 0 / 0.6156 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.4635, allocations: 4.375 kB / 0.6157 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4635, allocations: 0 / 0.6157 GB, free: 5.469 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.0001284/0.4636, allocations: 135 kB / 0.6158 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.4637, allocations: 11.91 kB / 0.6158 GB, free: 5.316 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.4639, allocations: 119 kB / 0.6159 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4639, allocations: 8 kB / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.464, allocations: 0 / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.464, allocations: 0 / 0.6159 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.4645, allocations: 415.2 kB / 0.6163 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4645, allocations: 0 / 0.6163 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.4645, allocations: 8 kB / 0.6163 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4646, allocations: 0 / 0.6163 GB, free: 4.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4646, allocations: 8.031 kB / 0.6163 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4646, allocations: 0 / 0.6163 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4646, allocations: 3.938 kB / 0.6163 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.4649, allocations: 212.2 kB / 0.6165 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.4649, allocations: 92.92 kB / 0.6166 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.465, allocations: 4 kB / 0.6166 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.4651, allocations: 7.984 kB / 0.6166 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.4651, allocations: 12.31 kB / 0.6166 GB, free: 4.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.4651, allocations: 7.984 kB / 0.6166 GB, free: 4.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4652, allocations: 138.1 kB / 0.6168 GB, free: 4.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4653, allocations: 4 kB / 0.6168 GB, free: 4.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.4656, allocations: 39.8 kB / 0.6168 GB, free: 4.16 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.001033/0.4666, allocations: 468.7 kB / 0.6173 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.4668, allocations: 63.91 kB / 0.6173 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4668, allocations: 3.938 kB / 0.6173 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.4669, allocations: 32.14 kB / 0.6174 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4672, allocations: 24.12 kB / 0.6174 GB, free: 3.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.4677, allocations: 246.4 kB / 0.6176 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.468, allocations: 0.7082 MB / 0.6183 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.682e-05/0.4681, allocations: 12.56 kB / 0.6183 GB, free: 2.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.4681, allocations: 19.42 kB / 0.6183 GB, free: 2.707 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4681, allocations: 0 / 0.6183 GB, free: 2.707 MB / 426.7 MB Notification: Performance of Templates: time 0.004371/0.4725, allocations: 1.703 MB / 0.62 GB, free: 1.02 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches