Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.00126, allocations: 97.55 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.406/0.406, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.11 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4464, allocations: 62.01 MB / 0.5152 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003649/0.4501, allocations: 2.341 MB / 0.5174 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4523, allocations: 1.358 MB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.4524, allocations: 2.906 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.4529, allocations: 116.9 kB / 0.5189 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.4533, allocations: 208.3 kB / 0.5191 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006799/0.454, allocations: 299.5 kB / 0.5194 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.4544, allocations: 436.2 kB / 0.5198 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4546, allocations: 57.45 kB / 0.5198 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.4549, allocations: 256.6 kB / 0.5201 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.455, allocations: 153.6 kB / 0.5202 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.4551, allocations: 10.72 kB / 0.5202 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4552, allocations: 72.89 kB / 0.5203 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.4554, allocations: 127.4 kB / 0.5204 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.4555, allocations: 181.2 kB / 0.5206 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.4559, allocations: 423.1 kB / 0.521 GB, free: 34.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4559, allocations: 0 / 0.521 GB, free: 34.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.4559, allocations: 0 / 0.521 GB, free: 34.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.4559, allocations: 0 / 0.521 GB, free: 34.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009667/0.4569, allocations: 0.8206 MB / 0.5218 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4569, allocations: 8.594 kB / 0.5218 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.457, allocations: 64.41 kB / 0.5219 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.4574, allocations: 419.4 kB / 0.5223 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4575, allocations: 6.156 kB / 0.5223 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.4575, allocations: 27.5 kB / 0.5223 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.4579, allocations: 193.6 kB / 0.5225 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4579, allocations: 0 / 0.5225 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.4579, allocations: 6.938 kB / 0.5225 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4579, allocations: 6.781 kB / 0.5225 GB, free: 33.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.4581, allocations: 93.97 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.4589, allocations: 0.8021 MB / 0.5234 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.4595, allocations: 249 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.4596, allocations: 89.69 kB / 0.5237 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4597, allocations: 13.17 kB / 0.5237 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.4601, allocations: 200.5 kB / 0.5239 GB, free: 32.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.4601, allocations: 0 / 0.5239 GB, free: 32.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002077/0.4622, allocations: 1.111 MB / 0.525 GB, free: 31.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4622, allocations: 133.8 kB / 0.5251 GB, free: 31.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.4629, allocations: 0.8044 MB / 0.5259 GB, free: 31.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.463, allocations: 36.58 kB / 0.5259 GB, free: 31.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4631, allocations: 238.5 kB / 0.5262 GB, free: 30.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.4632, allocations: 139.3 kB / 0.5263 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-05/0.4633, allocations: 82.88 kB / 0.5264 GB, free: 30.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.4634, allocations: 377.8 kB / 0.5267 GB, free: 30.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.4636, allocations: 114.7 kB / 0.5268 GB, free: 30.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.4638, allocations: 179.4 kB / 0.527 GB, free: 30.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.4642, allocations: 317.2 kB / 0.5273 GB, free: 30.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4643, allocations: 0 / 0.5273 GB, free: 30.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006092/0.4649, allocations: 443.5 kB / 0.5277 GB, free: 29.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4649, allocations: 8.609 kB / 0.5278 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4649, allocations: 2.75 kB / 0.5278 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4649, allocations: 5.375 kB / 0.5278 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4652, allocations: 87 kB / 0.5278 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4652, allocations: 6.781 kB / 0.5279 GB, free: 29.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.4653, allocations: 20.22 kB / 0.5279 GB, free: 29.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.4654, allocations: 19.69 kB / 0.5279 GB, free: 29.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.4656, allocations: 235.3 kB / 0.5281 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.4657, allocations: 66.69 kB / 0.5282 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.4658, allocations: 81.41 kB / 0.5283 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-06/0.4658, allocations: 5.625 kB / 0.5283 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4658, allocations: 0 / 0.5283 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.4658, allocations: 9.859 kB / 0.5283 GB, free: 29.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4672, allocations: 1.316 MB / 0.5296 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4673, allocations: 6.719 kB / 0.5296 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.4674, allocations: 56.22 kB / 0.5296 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.4674, allocations: 6.859 kB / 0.5296 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4674, allocations: 20.27 kB / 0.5296 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.4675, allocations: 5.531 kB / 0.5296 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4675, allocations: 2.75 kB / 0.5296 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.4686, allocations: 1.564 MB / 0.5312 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.4687, allocations: 169.9 kB / 0.5313 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.4688, allocations: 16.83 kB / 0.5314 GB, free: 27.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.4691, allocations: 20 kB / 0.5314 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.4692, allocations: 39.19 kB / 0.5314 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.4692, allocations: 20.94 kB / 0.5314 GB, free: 27.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004884/0.4697, allocations: 0.5869 MB / 0.532 GB, free: 27.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4697, allocations: 0 / 0.532 GB, free: 27.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005637/0.4703, allocations: 88.19 kB / 0.5321 GB, free: 27.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.4715, allocations: 0.5394 MB / 0.5326 GB, free: 26.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005605/0.472, allocations: 306.8 kB / 0.5329 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4721, allocations: 0 / 0.5329 GB, free: 26.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.4723, allocations: 169.4 kB / 0.5331 GB, free: 26.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.4732, allocations: 118 kB / 0.5332 GB, free: 26.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.4748, allocations: 1.475 MB / 0.5346 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4751, allocations: 0.8985 MB / 0.5355 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.4753, allocations: 80.33 kB / 0.5356 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.4755, allocations: 55.36 kB / 0.5356 GB, free: 24.92 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4755, allocations: 0 / 0.5356 GB, free: 24.92 MB / 378.7 MB Notification: Performance of Templates: time 0.01393/0.4894, allocations: 5.294 MB / 0.5408 GB, free: 24.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches