Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001733/0.001733, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2341/0.2341, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 72.17 kB / 481.4 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4638, allocations: 62.44 MB / 0.5311 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003423/0.4673, allocations: 1.687 MB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.4693, allocations: 0.9977 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.4695, allocations: 5.312 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.4699, allocations: 59.17 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.4703, allocations: 109.9 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.4705, allocations: 69.61 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.4707, allocations: 111.6 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.285e-05/0.4707, allocations: 9.719 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4709, allocations: 51.03 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.471, allocations: 44.45 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.471, allocations: 4.125 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/0.4711, allocations: 32.61 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.4712, allocations: 22.78 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.4713, allocations: 30.62 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4715, allocations: 116.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4715, allocations: 1.375 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4715, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4715, allocations: 0 / 0.5343 GB, free: 11.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006081/0.4721, allocations: 405.6 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4722, allocations: 9.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.4722, allocations: 8.844 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.4725, allocations: 213.1 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4726, allocations: 1.281 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.4726, allocations: 5.094 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.4727, allocations: 51.95 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4727, allocations: 0 / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4728, allocations: 4.969 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4728, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.814e-05/0.4728, allocations: 16.86 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.4731, allocations: 183.1 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.4732, allocations: 54.3 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.4733, allocations: 22.08 kB / 0.5353 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.4733, allocations: 7.984 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4735, allocations: 77.09 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.4735, allocations: 0 / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002949/0.4738, allocations: 91.39 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4739, allocations: 52.25 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.4741, allocations: 195.8 kB / 0.5357 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4741, allocations: 30.77 kB / 0.5357 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.4742, allocations: 100.7 kB / 0.5358 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.4742, allocations: 23.12 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.4743, allocations: 18.12 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4744, allocations: 326.1 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/0.4745, allocations: 15.98 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.4745, allocations: 32.05 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.853e-05/0.4746, allocations: 42.69 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4746, allocations: 1.094 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001652/0.4748, allocations: 87.36 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4748, allocations: 4.406 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4748, allocations: 1.406 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4749, allocations: 1.188 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.4749, allocations: 9.094 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.475, allocations: 7.922 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.475, allocations: 7.281 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.475, allocations: 6.297 kB / 0.5363 GB, free: 9.094 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 (7): * Single equations (assignments): 7 * 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.0001082/0.4751, allocations: 125.7 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.4752, allocations: 17.44 kB / 0.5365 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.4752, allocations: 13.77 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4752, allocations: 0 / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4752, allocations: 1.219 kB / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4752, allocations: 0 / 0.5365 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.4754, allocations: 185 kB / 0.5367 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4754, allocations: 5.5 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.4755, allocations: 11.22 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4755, allocations: 0 / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4755, allocations: 9.062 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4755, allocations: 1.188 kB / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4755, allocations: 0 / 0.5367 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4757, allocations: 106.2 kB / 0.5368 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.4758, allocations: 83.77 kB / 0.5369 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.4758, allocations: 9.031 kB / 0.5369 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.4758, allocations: 4.75 kB / 0.5369 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.4759, allocations: 10.11 kB / 0.5369 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4759, allocations: 2.312 kB / 0.5369 GB, free: 8.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4761, allocations: 152.5 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4761, allocations: 0 / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.4763, allocations: 21.56 kB / 0.5371 GB, free: 8.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001076/0.4774, allocations: 415.8 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.4776, allocations: 35.61 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4776, allocations: 0 / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.4777, allocations: 22.86 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.478, allocations: 32.06 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.4785, allocations: 195.2 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4788, allocations: 0.7073 MB / 0.5384 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.4788, allocations: 12.42 kB / 0.5384 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.4789, allocations: 17.98 kB / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4789, allocations: 0 / 0.5385 GB, free: 7.238 MB / 398.1 MB Notification: Performance of Templates: time 0.004907/0.4838, allocations: 1.514 MB / 0.5399 GB, free: 6.473 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches