Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 79.89 kB / 482.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.4418, allocations: 62.43 MB / 0.5317 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00347/0.4453, allocations: 1.688 MB / 0.5334 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.4472, allocations: 1.004 MB / 0.5344 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.738e-05/0.4473, allocations: 1.156 kB / 0.5344 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.4477, allocations: 62.92 kB / 0.5344 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.4481, allocations: 105.6 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.4483, allocations: 73.8 kB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4486, allocations: 107.7 kB / 0.5347 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.4487, allocations: 4.359 kB / 0.5347 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.4488, allocations: 48.41 kB / 0.5347 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.4489, allocations: 52.39 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4489, allocations: 2.75 kB / 0.5348 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.955e-05/0.449, allocations: 32.61 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.4491, allocations: 18.8 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.951e-05/0.4491, allocations: 38.59 kB / 0.5349 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.4494, allocations: 104 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4494, allocations: 0 / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4494, allocations: 0 / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.4494, allocations: 0 / 0.535 GB, free: 11.34 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.0006466/0.4501, allocations: 419.7 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4501, allocations: 9.625 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.4502, allocations: 12.95 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.4505, allocations: 209.3 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.4505, allocations: 1.75 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4505, allocations: 9.484 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.4507, allocations: 43.31 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.4507, allocations: 0 / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.4507, allocations: 0 / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4507, allocations: 5.375 kB / 0.5357 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.4508, allocations: 20.17 kB / 0.5357 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.4511, allocations: 179.4 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4512, allocations: 54.33 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.125e-05/0.4513, allocations: 25.38 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.4514, allocations: 0.9688 kB / 0.5359 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.4515, allocations: 67.48 kB / 0.536 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.4515, allocations: 4.938 kB / 0.536 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003043/0.4518, allocations: 91.73 kB / 0.5361 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.4519, allocations: 55.41 kB / 0.5361 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.4521, allocations: 193 kB / 0.5363 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4522, allocations: 31.05 kB / 0.5363 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.4522, allocations: 104.6 kB / 0.5364 GB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4523, allocations: 25.92 kB / 0.5365 GB, free: 9.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.4523, allocations: 18.75 kB / 0.5365 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4525, allocations: 322.6 kB / 0.5368 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/0.4526, allocations: 15.42 kB / 0.5368 GB, free: 9.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.956e-05/0.4526, allocations: 30.98 kB / 0.5368 GB, free: 9.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.4527, allocations: 52.12 kB / 0.5369 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4527, allocations: 0 / 0.5369 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001852/0.4529, allocations: 88.14 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.453, allocations: 5.062 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.453, allocations: 0 / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.453, allocations: 1.438 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.4531, allocations: 9.094 kB / 0.537 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4531, allocations: 5.094 kB / 0.537 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.4531, allocations: 6.609 kB / 0.537 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4532, allocations: 5.281 kB / 0.537 GB, free: 9.359 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.0001118/0.4533, allocations: 126.8 kB / 0.5371 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.4533, allocations: 13.12 kB / 0.5371 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.4534, allocations: 13.42 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4534, allocations: 1.062 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4534, allocations: 0 / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4534, allocations: 1.125 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.4536, allocations: 188.3 kB / 0.5373 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4536, allocations: 1.031 kB / 0.5373 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.4536, allocations: 15.22 kB / 0.5373 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4536, allocations: 3.984 kB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4536, allocations: 1.125 kB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4536, allocations: 1.094 kB / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4536, allocations: 0 / 0.5374 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.4539, allocations: 106 kB / 0.5375 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4539, allocations: 83.39 kB / 0.5375 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4539, allocations: 5.062 kB / 0.5375 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.454, allocations: 10.14 kB / 0.5376 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.454, allocations: 2.219 kB / 0.5376 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.454, allocations: 6.25 kB / 0.5376 GB, free: 8.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4542, allocations: 152.5 kB / 0.5377 GB, free: 8.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4542, allocations: 0 / 0.5377 GB, free: 8.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.4545, allocations: 16.5 kB / 0.5377 GB, free: 8.664 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.001068/0.4555, allocations: 410.6 kB / 0.5381 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.4557, allocations: 44.14 kB / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4557, allocations: 0 / 0.5382 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.4558, allocations: 27.55 kB / 0.5382 GB, free: 8.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4561, allocations: 34.44 kB / 0.5382 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.4566, allocations: 226.4 kB / 0.5384 GB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.457, allocations: 0.7007 MB / 0.5391 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.457, allocations: 17.34 kB / 0.5391 GB, free: 7.484 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4571, allocations: 0 / 0.5391 GB, free: 7.484 MB / 398.1 MB Notification: Performance of Templates: time 0.004104/0.4612, allocations: 1.746 MB / 0.5408 GB, free: 6.582 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches