Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001523/0.001523, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, 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.2354/0.2354, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 75.88 kB / 481.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4395, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003644/0.4432, allocations: 1.733 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4452, allocations: 1.023 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.4453, allocations: 1.156 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.4457, allocations: 42.7 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.4461, allocations: 105.5 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.4465, allocations: 78.98 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.4467, allocations: 106.2 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4469, allocations: 10.88 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.447, allocations: 48.27 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.585e-05/0.4471, allocations: 29.42 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.4471, allocations: 4.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.4473, allocations: 39.48 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.4474, allocations: 25.53 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.4474, allocations: 47.92 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.4477, allocations: 126.2 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4478, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.989e-06/0.4478, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.4478, allocations: 3.938 kB / 0.5344 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007027/0.4485, allocations: 431 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4485, allocations: 13.61 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.4486, allocations: 10.34 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.449, allocations: 219.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.449, allocations: 5.75 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.4491, allocations: 10.88 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.4493, allocations: 53.98 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4493, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.4493, allocations: 7.938 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4493, allocations: 1.375 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.4494, allocations: 18.98 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.4499, allocations: 288.2 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4501, allocations: 69.81 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.4501, allocations: 21.72 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4502, allocations: 1.094 kB / 0.5355 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.4504, allocations: 65.77 kB / 0.5356 GB, free: 9.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.4504, allocations: 4 kB / 0.5356 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006613/0.4511, allocations: 183.4 kB / 0.5357 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.4511, allocations: 56.97 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.4514, allocations: 232.9 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4514, allocations: 33.64 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.4515, allocations: 107 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.4516, allocations: 19 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.4516, allocations: 24.3 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4518, allocations: 336.1 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.4518, allocations: 22.14 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.4519, allocations: 39.27 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4521, allocations: 55.94 kB / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4521, allocations: 0 / 0.5366 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002477/0.4523, allocations: 116.9 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4523, allocations: 4.656 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4524, allocations: 1 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4524, allocations: 1.094 kB / 0.5367 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.926e-05/0.4525, allocations: 12.5 kB / 0.5368 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4525, allocations: 5.172 kB / 0.5368 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.4526, allocations: 10.12 kB / 0.5368 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.4526, allocations: 3.438 kB / 0.5368 GB, free: 8.828 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 (10): * Single equations (assignments): 10 * 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.000114/0.4527, allocations: 133.5 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.4527, allocations: 15 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.509e-05/0.4528, allocations: 15.31 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.4528, allocations: 1.188 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4528, allocations: 0 / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.4528, allocations: 9.109 kB / 0.5369 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.4533, allocations: 400.6 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4533, allocations: 1.375 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.4533, allocations: 11.92 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4534, allocations: 9.219 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4534, allocations: 5.312 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4534, allocations: 1.375 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4534, allocations: 0 / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.4536, allocations: 205.6 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.4537, allocations: 88.08 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.4538, allocations: 10.05 kB / 0.5376 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.4538, allocations: 13.09 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.4539, allocations: 4.281 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.4539, allocations: 7.578 kB / 0.5377 GB, free: 7.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001661/0.4541, allocations: 174.1 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4541, allocations: 0 / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.4544, allocations: 29.05 kB / 0.5379 GB, free: 7.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001184/0.4556, allocations: 457.8 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4558, allocations: 58.02 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4558, allocations: 1.156 kB / 0.5384 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.4559, allocations: 25.23 kB / 0.5384 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.4564, allocations: 48.58 kB / 0.5384 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.457, allocations: 258.3 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4574, allocations: 0.71 MB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.4575, allocations: 10.36 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4575, allocations: 30.98 kB / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4575, allocations: 0 / 0.5394 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Templates: time 0.005159/0.4627, allocations: 1.747 MB / 0.5411 GB, free: 5.738 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches