Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, 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.001414/0.001414, allocations: 197.2 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.536/1.536, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2456/0.2456, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4999, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003691/0.5036, allocations: 1.768 MB / 0.5328 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.5059, allocations: 1.037 MB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.506, allocations: 1.375 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004091/0.5064, allocations: 106.4 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.5068, allocations: 128.9 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.507, allocations: 80.3 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.5073, allocations: 138.8 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.5074, allocations: 23 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.5075, allocations: 57.89 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.5077, allocations: 69.91 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.5077, allocations: 5.344 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.5078, allocations: 68.83 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.5079, allocations: 31.2 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.508, allocations: 54.92 kB / 0.5346 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003313/0.5083, allocations: 159.9 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5083, allocations: 0.9062 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5083, allocations: 0 / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.5084, allocations: 0 / 0.5347 GB, free: 10.86 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006714/0.509, allocations: 468.1 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5091, allocations: 9.125 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.5091, allocations: 16.5 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.5095, allocations: 238.1 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5096, allocations: 6.625 kB / 0.5354 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.5096, allocations: 7.5 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.5098, allocations: 70.16 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.5098, allocations: 5.203 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5098, allocations: 0 / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.5098, allocations: 2.25 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.51, allocations: 34.88 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5104, allocations: 335.8 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.5107, allocations: 74.42 kB / 0.5359 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.5108, allocations: 29.69 kB / 0.536 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.5108, allocations: 5.047 kB / 0.536 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.511, allocations: 85.72 kB / 0.536 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.511, allocations: 0 / 0.536 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.000902/0.5119, allocations: 303.6 kB / 0.5363 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.5119, allocations: 52.78 kB / 0.5364 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.5122, allocations: 258.9 kB / 0.5366 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.5122, allocations: 31.19 kB / 0.5367 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.5123, allocations: 119.8 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.5124, allocations: 51.14 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.5124, allocations: 28.56 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5126, allocations: 332 kB / 0.5372 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.5127, allocations: 35.8 kB / 0.5372 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.5128, allocations: 53.42 kB / 0.5372 GB, free: 8.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.513, allocations: 102.4 kB / 0.5373 GB, free: 8.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.513, allocations: 4 kB / 0.5374 GB, free: 8.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002729/0.5132, allocations: 158.2 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5133, allocations: 4.594 kB / 0.5375 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.5133, allocations: 9.359 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5133, allocations: 5.25 kB / 0.5375 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5134, allocations: 29.06 kB / 0.5375 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.5134, allocations: 5.078 kB / 0.5376 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.5135, allocations: 3.062 kB / 0.5376 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5135, allocations: 4.75 kB / 0.5376 GB, free: 8.402 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 (16): * Single equations (assignments): 16 * 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.0001286/0.5136, allocations: 149.8 kB / 0.5377 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.5137, allocations: 19.73 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.5138, allocations: 26.7 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5138, allocations: 6.031 kB / 0.5378 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5138, allocations: 0 / 0.5378 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5138, allocations: 0 / 0.5378 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.5144, allocations: 0.5047 MB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5144, allocations: 5.141 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.5145, allocations: 24.28 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5145, allocations: 1.219 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5145, allocations: 3.438 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.5145, allocations: 9.266 kB / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5145, allocations: 0 / 0.5383 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.5149, allocations: 263.9 kB / 0.5385 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.5149, allocations: 89.95 kB / 0.5386 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.5149, allocations: 7.219 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.515, allocations: 1.938 kB / 0.5386 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5151, allocations: 9.641 kB / 0.5386 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.5151, allocations: 10.09 kB / 0.5387 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.5154, allocations: 200.2 kB / 0.5388 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5154, allocations: 4 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.5157, allocations: 35.41 kB / 0.5389 GB, free: 7.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001236/0.5169, allocations: 0.5056 MB / 0.5394 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5172, allocations: 107.2 kB / 0.5395 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.5172, allocations: 0 / 0.5395 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.5173, allocations: 50.58 kB / 0.5395 GB, free: 6.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.5177, allocations: 44.27 kB / 0.5396 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.5183, allocations: 320.2 kB / 0.5399 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.5186, allocations: 0.7333 MB / 0.5406 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.5187, allocations: 28.12 kB / 0.5406 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.16e-05/0.5188, allocations: 23.77 kB / 0.5406 GB, free: 5.953 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5188, allocations: 0 / 0.5406 GB, free: 5.953 MB / 398.1 MB Notification: Performance of Templates: time 0.005656/0.5245, allocations: 2.21 MB / 0.5428 GB, free: 4.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches