Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.88 kB / 481.4 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4798, allocations: 62.44 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003216/0.483, allocations: 1.688 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.4848, allocations: 1.003 MB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.4849, allocations: 0 / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.4852, allocations: 58.73 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.4856, allocations: 98.5 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.4857, allocations: 73.36 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.486, allocations: 106.1 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.702e-05/0.486, allocations: 5.734 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.4861, allocations: 45.66 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.4862, allocations: 40.34 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.4863, allocations: 4.125 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.693e-05/0.4864, allocations: 28.61 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.4864, allocations: 21.36 kB / 0.5342 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.4865, allocations: 35.98 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4867, allocations: 103.2 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4867, allocations: 0 / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4867, allocations: 1.375 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4867, allocations: 0 / 0.5343 GB, free: 11.14 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.0005834/0.4873, allocations: 400.4 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4874, allocations: 8.25 kB / 0.5347 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.492e-05/0.4874, allocations: 22.23 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.4877, allocations: 211.1 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4877, allocations: 1.75 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4878, allocations: 13.48 kB / 0.5349 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.4879, allocations: 47.3 kB / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.4879, allocations: 0 / 0.535 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.488, allocations: 7.938 kB / 0.535 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.488, allocations: 5.375 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.488, allocations: 12.23 kB / 0.535 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.4883, allocations: 178.1 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.4884, allocations: 59.11 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.4885, allocations: 24.98 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4885, allocations: 5.359 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.4887, allocations: 67.77 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.4887, allocations: 0 / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002859/0.489, allocations: 92.02 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.489, allocations: 55.41 kB / 0.5354 GB, free: 9.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.4893, allocations: 182.2 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4893, allocations: 25.7 kB / 0.5356 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.4894, allocations: 105.5 kB / 0.5357 GB, free: 9.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.4894, allocations: 18.05 kB / 0.5358 GB, free: 9.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.4895, allocations: 19.12 kB / 0.5358 GB, free: 9.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4896, allocations: 321 kB / 0.5361 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.284e-05/0.4897, allocations: 12.62 kB / 0.5361 GB, free: 9.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.4898, allocations: 35.22 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4899, allocations: 51.02 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4899, allocations: 1.062 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001603/0.4901, allocations: 78.38 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4901, allocations: 5.625 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4901, allocations: 1.594 kB / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4901, allocations: 0 / 0.5363 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.4902, allocations: 17.55 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.4902, allocations: 0 / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.4903, allocations: 10.25 kB / 0.5363 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.4903, allocations: 7 kB / 0.5363 GB, free: 9.16 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.0001105/0.4904, allocations: 124.9 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.4904, allocations: 12.75 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.4905, allocations: 10.22 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4905, allocations: 0 / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4905, allocations: 5.25 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4905, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.4907, allocations: 188.3 kB / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4907, allocations: 0 / 0.5366 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.4907, allocations: 7.844 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4907, allocations: 0 / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4907, allocations: 0.9688 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4907, allocations: 1.219 kB / 0.5366 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4907, allocations: 3.938 kB / 0.5366 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.491, allocations: 117 kB / 0.5367 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.491, allocations: 88.17 kB / 0.5368 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.4911, allocations: 5.109 kB / 0.5368 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.424e-05/0.4911, allocations: 9.531 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.4911, allocations: 2.625 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4911, allocations: 1.219 kB / 0.5368 GB, free: 8.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.4913, allocations: 139.6 kB / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4913, allocations: 0 / 0.537 GB, free: 8.473 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.4915, allocations: 17.75 kB / 0.537 GB, free: 8.469 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.001035/0.4925, allocations: 396.3 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4927, allocations: 43.8 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4927, allocations: 0 / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.865e-05/0.4928, allocations: 24.67 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4931, allocations: 30.23 kB / 0.5375 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.4936, allocations: 192.8 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.4939, allocations: 0.6985 MB / 0.5383 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.4939, allocations: 20.75 kB / 0.5384 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.494, allocations: 21.59 kB / 0.5384 GB, free: 7.324 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.494, allocations: 0 / 0.5384 GB, free: 7.324 MB / 398.1 MB Notification: Performance of Templates: time 0.004764/0.4988, allocations: 1.518 MB / 0.5399 GB, free: 6.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches