Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001713/0.001713, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002227/0.002227, allocations: 198 kB / 18.73 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.582/1.582, 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.2734/0.2734, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 76.28 kB / 481.4 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4949, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003801/0.4988, allocations: 1.932 MB / 0.533 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.5011, allocations: 1.119 MB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.5012, allocations: 1.375 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.5018, allocations: 164.3 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000467/0.5023, allocations: 181.2 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.5026, allocations: 116.5 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.503, allocations: 242.3 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.5032, allocations: 32.59 kB / 0.5348 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.5035, allocations: 118.5 kB / 0.5349 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.5037, allocations: 131 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.5038, allocations: 8.375 kB / 0.535 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.5039, allocations: 66.38 kB / 0.5351 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.592e-05/0.504, allocations: 53.88 kB / 0.5351 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.5041, allocations: 90.66 kB / 0.5352 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.5045, allocations: 219.9 kB / 0.5354 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5045, allocations: 4 kB / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5045, allocations: 0 / 0.5354 GB, free: 10.37 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.5045, allocations: 1.125 kB / 0.5354 GB, free: 10.37 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008565/0.5054, allocations: 0.5424 MB / 0.536 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5055, allocations: 14.16 kB / 0.536 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.5056, allocations: 27.84 kB / 0.536 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.506, allocations: 283.7 kB / 0.5363 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.506, allocations: 7.625 kB / 0.5363 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.5061, allocations: 13.95 kB / 0.5363 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.5063, allocations: 108.5 kB / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5064, allocations: 0 / 0.5364 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5064, allocations: 5.172 kB / 0.5364 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5064, allocations: 2.312 kB / 0.5364 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.5066, allocations: 48.28 kB / 0.5365 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.5074, allocations: 470 kB / 0.5369 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.5079, allocations: 123.5 kB / 0.537 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.508, allocations: 48.23 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.5081, allocations: 2.188 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.5084, allocations: 124.9 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5084, allocations: 0 / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001552/0.5099, allocations: 0.4927 MB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.51, allocations: 80.36 kB / 0.5377 GB, free: 8.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.5105, allocations: 369.3 kB / 0.5381 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.5105, allocations: 31.05 kB / 0.5381 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5106, allocations: 148.9 kB / 0.5383 GB, free: 7.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.377e-05/0.5107, allocations: 78.64 kB / 0.5383 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.961e-05/0.5108, allocations: 49.17 kB / 0.5384 GB, free: 7.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.511, allocations: 338.9 kB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.5111, allocations: 58.09 kB / 0.5388 GB, free: 7.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.5113, allocations: 95.09 kB / 0.5389 GB, free: 7.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.5116, allocations: 161.2 kB / 0.539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5116, allocations: 0 / 0.539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004196/0.512, allocations: 233.6 kB / 0.5392 GB, free: 7.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.512, allocations: 9.688 kB / 0.5392 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.512, allocations: 1.766 kB / 0.5392 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5121, allocations: 9.25 kB / 0.5393 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5122, allocations: 42.66 kB / 0.5393 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.5123, allocations: 14.67 kB / 0.5393 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.5123, allocations: 8.469 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.5124, allocations: 6.031 kB / 0.5393 GB, free: 7.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001716/0.5125, allocations: 154.9 kB / 0.5395 GB, free: 7.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.5126, allocations: 33.62 kB / 0.5395 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-05/0.5127, allocations: 35.52 kB / 0.5395 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5127, allocations: 6.234 kB / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5127, allocations: 1.062 kB / 0.5395 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5127, allocations: 5.156 kB / 0.5395 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.5138, allocations: 0.7213 MB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5138, allocations: 1.125 kB / 0.5403 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.5139, allocations: 32.27 kB / 0.5403 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5139, allocations: 2.406 kB / 0.5403 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.5139, allocations: 16.53 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5139, allocations: 2.125 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5139, allocations: 2.25 kB / 0.5403 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.5145, allocations: 425.3 kB / 0.5407 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.5146, allocations: 100.7 kB / 0.5408 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.5147, allocations: 8.031 kB / 0.5408 GB, free: 5.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5148, allocations: 8.266 kB / 0.5408 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.5149, allocations: 21.2 kB / 0.5408 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.5149, allocations: 16.8 kB / 0.5409 GB, free: 5.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003658/0.5153, allocations: 279 kB / 0.5411 GB, free: 5.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5153, allocations: 1.125 kB / 0.5411 GB, free: 5.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003855/0.5157, allocations: 47.33 kB / 0.5412 GB, free: 5.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001534/0.5172, allocations: 0.5083 MB / 0.5417 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.5176, allocations: 154.9 kB / 0.5418 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5176, allocations: 1.25 kB / 0.5418 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.5178, allocations: 86.78 kB / 0.5419 GB, free: 5.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.5184, allocations: 61.48 kB / 0.542 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.5198, allocations: 0.5005 MB / 0.5424 GB, free: 4.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.5206, allocations: 0.7643 MB / 0.5432 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.5208, allocations: 43.97 kB / 0.5432 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.521, allocations: 31.22 kB / 0.5433 GB, free: 4.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.521, allocations: 0 / 0.5433 GB, free: 4.191 MB / 398.1 MB Notification: Performance of Templates: time 0.008246/0.5292, allocations: 3.147 MB / 0.5463 GB, free: 1.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches