Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 208.7 kB / 18.74 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.537/1.537, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2667/0.2667, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 76.06 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4481, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003706/0.4519, allocations: 1.719 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.454, allocations: 1.022 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.4541, allocations: 1.062 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.4546, allocations: 55.12 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.455, allocations: 101.5 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.4552, allocations: 83.66 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.4555, allocations: 101.5 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4556, allocations: 10.84 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4557, allocations: 48.8 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.4559, allocations: 29.08 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.456, allocations: 4.375 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.4561, allocations: 43.8 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.4562, allocations: 35.28 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.4562, allocations: 40.8 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.4565, allocations: 136.9 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4566, allocations: 3.984 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4566, allocations: 1.062 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4566, allocations: 0 / 0.5344 GB, free: 11.01 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.000841/0.4574, allocations: 438.6 kB / 0.5348 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4575, allocations: 8.844 kB / 0.5349 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.4576, allocations: 19.38 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.458, allocations: 228.1 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.458, allocations: 1.75 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.458, allocations: 6.875 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4582, allocations: 54.05 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4582, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.4583, allocations: 3.984 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4583, allocations: 5.312 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.4584, allocations: 26.98 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.4589, allocations: 295 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.4591, allocations: 65.78 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.286e-05/0.4592, allocations: 22.47 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.4592, allocations: 0 / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.4594, allocations: 69.14 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.4594, allocations: 1.375 kB / 0.5356 GB, free: 9.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008451/0.4603, allocations: 184.7 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.4604, allocations: 55.39 kB / 0.5358 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.4608, allocations: 272.2 kB / 0.5361 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4609, allocations: 26.8 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.461, allocations: 111.7 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.461, allocations: 34.92 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.4611, allocations: 24.09 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4613, allocations: 328.2 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.14e-05/0.4614, allocations: 22.64 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.4615, allocations: 35.92 kB / 0.5367 GB, free: 8.887 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.4616, allocations: 63.27 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4616, allocations: 0 / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003673/0.462, allocations: 109 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.462, allocations: 5.5 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.4621, allocations: 1.281 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4621, allocations: 0 / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4622, allocations: 17.27 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.4622, allocations: 4.781 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.4623, allocations: 10.91 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4623, allocations: 2.344 kB / 0.5369 GB, free: 8.758 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.0001751/0.4625, allocations: 138.2 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.4626, allocations: 14.03 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.4627, allocations: 21.95 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4627, allocations: 1.094 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4627, allocations: 0 / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.4627, allocations: 3.938 kB / 0.537 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.4634, allocations: 408.9 kB / 0.5374 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4634, allocations: 4.312 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.4635, allocations: 8.719 kB / 0.5374 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.4635, allocations: 3.984 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.4635, allocations: 10.19 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4635, allocations: 1.469 kB / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4635, allocations: 0 / 0.5375 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.464, allocations: 217.9 kB / 0.5377 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.4641, allocations: 84.86 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.4641, allocations: 5.875 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.4642, allocations: 10.05 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.4643, allocations: 4 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.4643, allocations: 2.812 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.4646, allocations: 203.1 kB / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4646, allocations: 0 / 0.538 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.465, allocations: 21.91 kB / 0.538 GB, free: 7.77 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.001467/0.4665, allocations: 473.9 kB / 0.5384 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.4667, allocations: 54.45 kB / 0.5385 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.4667, allocations: 4.062 kB / 0.5385 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.4668, allocations: 32.83 kB / 0.5385 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4671, allocations: 35.11 kB / 0.5386 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.4678, allocations: 284.3 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.4682, allocations: 0.7203 MB / 0.5395 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.445e-05/0.4683, allocations: 15.42 kB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.4683, allocations: 18.45 kB / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4683, allocations: 0 / 0.5396 GB, free: 6.535 MB / 398.1 MB Notification: Performance of Templates: time 0.007044/0.4754, allocations: 1.78 MB / 0.5413 GB, free: 5.633 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches