Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 121.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 207.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.7/1.7, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2654/0.2654, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 71.89 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4603, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003021/0.4634, allocations: 1.728 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.4657, allocations: 1.633 MB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.064e-05/0.4658, allocations: 1.062 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.4661, allocations: 37.78 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.4665, allocations: 98.94 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.4667, allocations: 79.66 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.4669, allocations: 101.3 kB / 0.5347 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.467, allocations: 18.62 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.4671, allocations: 45.56 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.4674, allocations: 42.38 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.4674, allocations: 5.469 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.4676, allocations: 114.6 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.4677, allocations: 20.36 kB / 0.5349 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.4678, allocations: 31.92 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.4681, allocations: 167.5 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4681, allocations: 0 / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4681, allocations: 1.094 kB / 0.5351 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.4681, allocations: 4 kB / 0.5351 GB, free: 10.48 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.0005801/0.4687, allocations: 433.5 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.4688, allocations: 9.781 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.4688, allocations: 12.94 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.4691, allocations: 211.5 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4691, allocations: 9.938 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.4692, allocations: 6.047 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.4693, allocations: 73.7 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4694, allocations: 5.375 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4694, allocations: 0 / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4694, allocations: 0.9375 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.4695, allocations: 18.86 kB / 0.5358 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003527/0.4698, allocations: 285.5 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.47, allocations: 57.92 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.4701, allocations: 25.03 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4701, allocations: 1.375 kB / 0.5362 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.4702, allocations: 64.61 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4702, allocations: 0 / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.4708, allocations: 186.1 kB / 0.5364 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.4709, allocations: 82.45 kB / 0.5365 GB, free: 9.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.4711, allocations: 162.2 kB / 0.5367 GB, free: 8.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.4711, allocations: 34.83 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.4712, allocations: 92.27 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.4712, allocations: 31.64 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.4713, allocations: 25.34 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4714, allocations: 321.5 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.4715, allocations: 23.14 kB / 0.5372 GB, free: 8.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.4716, allocations: 44.56 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4717, allocations: 59.08 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4717, allocations: 1.438 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001892/0.4719, allocations: 102.7 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4719, allocations: 5.406 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.472, allocations: 5.188 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.472, allocations: 5.125 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.4721, allocations: 16.67 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4721, allocations: 5.062 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.4722, allocations: 2.031 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.4722, allocations: 3.219 kB / 0.5374 GB, free: 8.258 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.0001021/0.4723, allocations: 124.5 kB / 0.5375 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4723, allocations: 12.33 kB / 0.5375 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.4724, allocations: 16.41 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4724, allocations: 5.297 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/0.4724, allocations: 5.125 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4724, allocations: 192 / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.4729, allocations: 392 kB / 0.5379 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4729, allocations: 5.375 kB / 0.5379 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.4729, allocations: 15.33 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.473, allocations: 0.7188 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.473, allocations: 1.094 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.473, allocations: 6 kB / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.473, allocations: 0 / 0.538 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.4733, allocations: 200.2 kB / 0.5382 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.4733, allocations: 93.08 kB / 0.5382 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.4734, allocations: 5.062 kB / 0.5382 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.4735, allocations: 10.16 kB / 0.5383 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4735, allocations: 11.17 kB / 0.5383 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.4736, allocations: 3.281 kB / 0.5383 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.4737, allocations: 127.3 kB / 0.5384 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4737, allocations: 1.094 kB / 0.5384 GB, free: 7.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.474, allocations: 49.64 kB / 0.5384 GB, free: 7.293 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.001475/0.4755, allocations: 0.5394 MB / 0.539 GB, free: 7.016 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.4758, allocations: 58.7 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4758, allocations: 0 / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.4759, allocations: 26.52 kB / 0.539 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.4762, allocations: 39.2 kB / 0.5391 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.4767, allocations: 203.2 kB / 0.5393 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.4771, allocations: 0.6993 MB / 0.54 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.009e-05/0.4772, allocations: 14.28 kB / 0.54 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.4773, allocations: 21.45 kB / 0.54 GB, free: 6.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4773, allocations: 0 / 0.54 GB, free: 6.055 MB / 398.1 MB Notification: Performance of Templates: time 0.006669/0.484, allocations: 2.359 MB / 0.5423 GB, free: 4.848 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches