Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001698, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2464/0.2464, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 83.86 kB / 482.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4441, allocations: 62.44 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003515/0.4477, allocations: 1.743 MB / 0.5335 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4496, allocations: 1.027 MB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.4497, allocations: 1.312 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.4501, allocations: 110.4 kB / 0.5346 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003819/0.4505, allocations: 128.9 kB / 0.5347 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.4508, allocations: 80.28 kB / 0.5348 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.451, allocations: 120 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4511, allocations: 24.17 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.4513, allocations: 56.52 kB / 0.535 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.4514, allocations: 59.44 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.4514, allocations: 4.125 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4515, allocations: 62.47 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.964e-05/0.4516, allocations: 33.42 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.73e-05/0.4517, allocations: 42.67 kB / 0.5352 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.452, allocations: 147.6 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.452, allocations: 0 / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.452, allocations: 5.375 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.452, allocations: 0 / 0.5353 GB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006388/0.4526, allocations: 441.8 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.4527, allocations: 8.594 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.4527, allocations: 20.09 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.4531, allocations: 230.1 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4531, allocations: 2.406 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.4531, allocations: 6.344 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4533, allocations: 61.48 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4533, allocations: 0 / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.4533, allocations: 5.156 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4533, allocations: 3.984 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.4534, allocations: 21.08 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4539, allocations: 314.5 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.4542, allocations: 65.3 kB / 0.5364 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.4542, allocations: 23.19 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4543, allocations: 1.281 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.4544, allocations: 65.67 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.4544, allocations: 3.938 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008309/0.4553, allocations: 248.1 kB / 0.5367 GB, free: 9.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4553, allocations: 65.52 kB / 0.5368 GB, free: 9.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.4556, allocations: 250.1 kB / 0.537 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4557, allocations: 27.67 kB / 0.5371 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.4557, allocations: 111.8 kB / 0.5372 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.4558, allocations: 36.11 kB / 0.5372 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.4559, allocations: 30.89 kB / 0.5372 GB, free: 9.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.456, allocations: 327.5 kB / 0.5376 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.4561, allocations: 31.33 kB / 0.5376 GB, free: 8.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.4562, allocations: 46.67 kB / 0.5376 GB, free: 8.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4564, allocations: 80.77 kB / 0.5377 GB, free: 8.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4564, allocations: 0 / 0.5377 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002536/0.4566, allocations: 130.8 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4567, allocations: 4.969 kB / 0.5378 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.4567, allocations: 5.531 kB / 0.5378 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.4567, allocations: 0 / 0.5378 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.4568, allocations: 26.23 kB / 0.5379 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4568, allocations: 5 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.4569, allocations: 5.531 kB / 0.5379 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4569, allocations: 7.562 kB / 0.5379 GB, free: 8.602 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 (13): * Single equations (assignments): 13 * 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.0001215/0.457, allocations: 132.2 kB / 0.538 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.457, allocations: 15.69 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.4571, allocations: 21.08 kB / 0.538 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4571, allocations: 5.219 kB / 0.5381 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4571, allocations: 3.938 kB / 0.5381 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4571, allocations: 1.375 kB / 0.5381 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.4577, allocations: 459.3 kB / 0.5385 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4577, allocations: 1.438 kB / 0.5385 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.4578, allocations: 19.47 kB / 0.5385 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4578, allocations: 1.562 kB / 0.5385 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.4578, allocations: 11.33 kB / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4578, allocations: 0 / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4578, allocations: 1.531 kB / 0.5385 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.4582, allocations: 234.9 kB / 0.5388 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.4582, allocations: 89.3 kB / 0.5388 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.4583, allocations: 14.08 kB / 0.5389 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4584, allocations: 6.375 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4584, allocations: 12.09 kB / 0.5389 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.4584, allocations: 8.656 kB / 0.5389 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.4586, allocations: 186.2 kB / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4586, allocations: 0 / 0.5391 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000292/0.4589, allocations: 28.94 kB / 0.5391 GB, free: 7.551 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 (11): * Single equations (assignments): 9 * 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.001392/0.4603, allocations: 0.5015 MB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.4606, allocations: 76.66 kB / 0.5396 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4606, allocations: 1.031 kB / 0.5396 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4607, allocations: 39.58 kB / 0.5397 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.4611, allocations: 43.64 kB / 0.5397 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.4618, allocations: 337.2 kB / 0.54 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4622, allocations: 0.7135 MB / 0.5407 GB, free: 6.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.4622, allocations: 21.41 kB / 0.5408 GB, free: 6.242 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4622, allocations: 1.219 kB / 0.5408 GB, free: 6.242 MB / 398.1 MB Notification: Performance of Templates: time 0.00476/0.467, allocations: 2.32 MB / 0.543 GB, free: 5.043 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches