Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, 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.001328/0.001329, 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.586/1.586, 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.3322/0.3322, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 75.88 kB / 481.4 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5537, allocations: 62.44 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003558/0.5573, allocations: 1.737 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.5594, allocations: 1.018 MB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.5595, allocations: 1.375 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.5599, allocations: 50.88 kB / 0.5338 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.5602, allocations: 97.84 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.5605, allocations: 78.91 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.5607, allocations: 108.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.5608, allocations: 10.88 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.561, allocations: 52.2 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.5611, allocations: 29.42 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.5611, allocations: 4.125 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.5612, allocations: 39.48 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.5613, allocations: 28.16 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.5614, allocations: 37.31 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.5616, allocations: 133.4 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5617, allocations: 5.375 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.5617, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.5617, allocations: 3.938 kB / 0.5344 GB, free: 11.02 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.0006222/0.5623, allocations: 436.9 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5624, allocations: 9.375 kB / 0.5348 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.5624, allocations: 10.48 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.5627, allocations: 219.4 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5627, allocations: 5.344 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.5628, allocations: 10.44 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.563, allocations: 58.03 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5631, allocations: 3.938 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5631, allocations: 4.922 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5631, allocations: 1.156 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/0.5632, allocations: 18.45 kB / 0.5352 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.5636, allocations: 293.6 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.5638, allocations: 61.64 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.5638, allocations: 17.86 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.5639, allocations: 1.062 kB / 0.5355 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.564, allocations: 68.75 kB / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.564, allocations: 0 / 0.5356 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006607/0.5647, allocations: 184 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.5648, allocations: 52.5 kB / 0.5358 GB, free: 9.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.565, allocations: 244.8 kB / 0.536 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5651, allocations: 30.86 kB / 0.5361 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.492e-05/0.5652, allocations: 105.8 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.5652, allocations: 24.41 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.5652, allocations: 24.56 kB / 0.5362 GB, free: 9.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5654, allocations: 330.1 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.5655, allocations: 23.47 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.5656, allocations: 43.92 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.5657, allocations: 58.98 kB / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5657, allocations: 0 / 0.5367 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.5659, allocations: 104 kB / 0.5368 GB, free: 8.824 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5659, allocations: 9.297 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.566, allocations: 5.438 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.566, allocations: 1.312 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5661, allocations: 12.22 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5661, allocations: 1.125 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.5662, allocations: 6.062 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5662, allocations: 7.328 kB / 0.5368 GB, free: 8.809 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.0001114/0.5663, allocations: 126.1 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.5663, allocations: 18.38 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.5664, allocations: 27.14 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.5664, allocations: 0.9688 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5664, allocations: 1.156 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5664, allocations: 3.938 kB / 0.537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.5669, allocations: 397.9 kB / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5669, allocations: 0 / 0.5373 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.5669, allocations: 8.562 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5669, allocations: 0 / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.567, allocations: 10.11 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.567, allocations: 4.938 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.567, allocations: 1.25 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.5672, allocations: 204.4 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.5673, allocations: 89.42 kB / 0.5376 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.5673, allocations: 5.094 kB / 0.5377 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.5674, allocations: 13.94 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5675, allocations: 12.05 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5675, allocations: 2.781 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.5677, allocations: 178.4 kB / 0.5379 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5677, allocations: 0 / 0.5379 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.568, allocations: 24.81 kB / 0.5379 GB, free: 7.824 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.001262/0.5692, allocations: 467.3 kB / 0.5383 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.5695, allocations: 58.42 kB / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5695, allocations: 0 / 0.5384 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.5696, allocations: 25.67 kB / 0.5384 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.57, allocations: 31.27 kB / 0.5384 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.5706, allocations: 267.4 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5709, allocations: 0.7098 MB / 0.5394 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.287e-05/0.571, allocations: 14.34 kB / 0.5394 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.5711, allocations: 23.44 kB / 0.5394 GB, free: 6.598 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5711, allocations: 4 kB / 0.5394 GB, free: 6.594 MB / 398.1 MB Notification: Performance of Templates: time 0.00626/0.5773, allocations: 1.753 MB / 0.5411 GB, free: 5.703 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches