Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.88 kB / 481.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.4523, allocations: 62.44 MB / 0.5311 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003739/0.4561, allocations: 1.738 MB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.4591, allocations: 1.614 MB / 0.5343 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4593, allocations: 5.438 kB / 0.5343 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.4597, allocations: 44.42 kB / 0.5344 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.4602, allocations: 99.59 kB / 0.5345 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.4604, allocations: 80.06 kB / 0.5346 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.4606, allocations: 106.1 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.4608, allocations: 7.281 kB / 0.5347 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4609, allocations: 52.86 kB / 0.5347 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.4611, allocations: 46.98 kB / 0.5348 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4611, allocations: 9.281 kB / 0.5348 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.4613, allocations: 111 kB / 0.5349 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.4614, allocations: 16.58 kB / 0.5349 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.4615, allocations: 39.62 kB / 0.5349 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.4619, allocations: 165.3 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4619, allocations: 3.938 kB / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4619, allocations: 0 / 0.5351 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.4619, allocations: 0 / 0.5351 GB, free: 10.73 MB / 398.1 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.0006924/0.4626, allocations: 426.4 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.4626, allocations: 14.28 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.4627, allocations: 9.438 kB / 0.5355 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.4631, allocations: 218.1 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4631, allocations: 6.031 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.4631, allocations: 1.969 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.4633, allocations: 73.98 kB / 0.5358 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4634, allocations: 0.9375 kB / 0.5358 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4634, allocations: 0 / 0.5358 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4634, allocations: 5.156 kB / 0.5358 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.4635, allocations: 18.64 kB / 0.5358 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.4639, allocations: 285.6 kB / 0.5361 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.4641, allocations: 57.91 kB / 0.5362 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.282e-05/0.4642, allocations: 25.38 kB / 0.5362 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.4642, allocations: 1.469 kB / 0.5362 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.4644, allocations: 69.77 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4644, allocations: 0 / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006563/0.4651, allocations: 172.4 kB / 0.5364 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.4652, allocations: 82.39 kB / 0.5365 GB, free: 9.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.4655, allocations: 166.7 kB / 0.5367 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.4655, allocations: 30.89 kB / 0.5367 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.4656, allocations: 105.2 kB / 0.5368 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.4656, allocations: 23.53 kB / 0.5368 GB, free: 9.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.4657, allocations: 20.38 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4658, allocations: 321.4 kB / 0.5371 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.367e-05/0.4659, allocations: 23.8 kB / 0.5372 GB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.466, allocations: 48.5 kB / 0.5372 GB, free: 8.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.4662, allocations: 62.92 kB / 0.5373 GB, free: 8.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4662, allocations: 0 / 0.5373 GB, free: 8.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000218/0.4664, allocations: 95.88 kB / 0.5374 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4664, allocations: 5.438 kB / 0.5374 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4664, allocations: 0 / 0.5374 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4665, allocations: 1.062 kB / 0.5374 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4666, allocations: 16.8 kB / 0.5374 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4666, allocations: 9.062 kB / 0.5374 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.4667, allocations: 7.25 kB / 0.5374 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4667, allocations: 2.156 kB / 0.5374 GB, free: 8.523 MB / 398.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.4668, allocations: 124.1 kB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.4668, allocations: 13.16 kB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.493e-05/0.4669, allocations: 12.22 kB / 0.5375 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4669, allocations: 2.031 kB / 0.5375 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4669, allocations: 3.938 kB / 0.5375 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4669, allocations: 3.984 kB / 0.5375 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4674, allocations: 396.4 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4674, allocations: 1.219 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.4675, allocations: 15.84 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4675, allocations: 0 / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4675, allocations: 2.469 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4675, allocations: 1.031 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4675, allocations: 0 / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.4678, allocations: 209.6 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.4679, allocations: 95.11 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4679, allocations: 2.062 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.468, allocations: 5.938 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.4681, allocations: 16.23 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.4681, allocations: 3.344 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.4682, allocations: 127.2 kB / 0.5384 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4682, allocations: 4 kB / 0.5384 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003469/0.4686, allocations: 46.14 kB / 0.5384 GB, free: 7.559 MB / 398.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001487/0.4701, allocations: 0.5366 MB / 0.539 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.4703, allocations: 59.05 kB / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4704, allocations: 0 / 0.539 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.092e-05/0.4704, allocations: 33.48 kB / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4708, allocations: 41.14 kB / 0.5391 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.4714, allocations: 195.3 kB / 0.5393 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4718, allocations: 0.7017 MB / 0.54 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.393e-05/0.4719, allocations: 19.69 kB / 0.54 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.4719, allocations: 20.89 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4719, allocations: 0 / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of Templates: time 0.006351/0.4783, allocations: 2.363 MB / 0.5423 GB, free: 5.105 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches