Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2435/0.2435, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 79.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4503, allocations: 62.44 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003373/0.4537, allocations: 1.736 MB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.4557, allocations: 1.019 MB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.4558, allocations: 1.031 kB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.4563, allocations: 58.62 kB / 0.5338 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.4568, allocations: 98.72 kB / 0.5339 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.4571, allocations: 74.98 kB / 0.534 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.4573, allocations: 105.1 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4575, allocations: 18.7 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.4576, allocations: 44.62 kB / 0.5342 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.4577, allocations: 30.52 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.4577, allocations: 4.344 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.4578, allocations: 43.66 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.998e-05/0.4579, allocations: 30.94 kB / 0.5343 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.458, allocations: 36.78 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.4582, allocations: 142.6 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.4583, allocations: 1.094 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4583, allocations: 0 / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.4583, allocations: 0 / 0.5344 GB, free: 11.25 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.0006752/0.459, allocations: 455.9 kB / 0.5349 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.459, allocations: 9.125 kB / 0.5349 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.4591, allocations: 15.53 kB / 0.5349 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.4594, allocations: 216.3 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4594, allocations: 1.469 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.4595, allocations: 10.56 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4596, allocations: 54.42 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4597, allocations: 4 kB / 0.5352 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4597, allocations: 9.312 kB / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4597, allocations: 0 / 0.5352 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.4598, allocations: 18.08 kB / 0.5352 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.4602, allocations: 300 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.4604, allocations: 57.81 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.4605, allocations: 26.47 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4605, allocations: 5.375 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.4607, allocations: 61.14 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4607, allocations: 0 / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005833/0.4613, allocations: 184.9 kB / 0.5358 GB, free: 9.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.4613, allocations: 52.53 kB / 0.5358 GB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.4616, allocations: 275.2 kB / 0.5361 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4616, allocations: 26.8 kB / 0.5361 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.4617, allocations: 111.8 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4618, allocations: 26.7 kB / 0.5363 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.4618, allocations: 25.09 kB / 0.5363 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.462, allocations: 331.2 kB / 0.5366 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.462, allocations: 19.16 kB / 0.5366 GB, free: 9.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.4621, allocations: 44.08 kB / 0.5367 GB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4623, allocations: 66.34 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4623, allocations: 1.031 kB / 0.5367 GB, free: 9.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.4625, allocations: 105.2 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4625, allocations: 5.344 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4625, allocations: 0 / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.4625, allocations: 5.297 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.4626, allocations: 16.69 kB / 0.5369 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4626, allocations: 1.219 kB / 0.5369 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.4627, allocations: 14.42 kB / 0.5369 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4627, allocations: 2.75 kB / 0.5369 GB, free: 9 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.0001225/0.4628, allocations: 137.7 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.4629, allocations: 14.22 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.4629, allocations: 17.78 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4629, allocations: 1.062 kB / 0.537 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4629, allocations: 3.984 kB / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.463, allocations: 8.906 kB / 0.537 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.4634, allocations: 415.6 kB / 0.5374 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4635, allocations: 1.062 kB / 0.5374 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.4635, allocations: 8.031 kB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4635, allocations: 0.9688 kB / 0.5375 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4635, allocations: 5 kB / 0.5375 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4635, allocations: 1.344 kB / 0.5375 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4635, allocations: 1.125 kB / 0.5375 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.4638, allocations: 214.1 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.4638, allocations: 88.66 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.4639, allocations: 5.25 kB / 0.5378 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.941e-05/0.4639, allocations: 6.219 kB / 0.5378 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.464, allocations: 7.922 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.464, allocations: 2.969 kB / 0.5378 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.4642, allocations: 202.7 kB / 0.538 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4642, allocations: 0 / 0.538 GB, free: 8.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.4645, allocations: 25.77 kB / 0.538 GB, free: 8.008 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.001042/0.4655, allocations: 472.5 kB / 0.5384 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.4657, allocations: 58.25 kB / 0.5385 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4657, allocations: 0 / 0.5385 GB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.4658, allocations: 33.98 kB / 0.5385 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4662, allocations: 33.38 kB / 0.5386 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.4667, allocations: 283.1 kB / 0.5388 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4671, allocations: 0.7203 MB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.982e-05/0.4671, allocations: 18.77 kB / 0.5395 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.4672, allocations: 15.97 kB / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4672, allocations: 0 / 0.5396 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Templates: time 0.004679/0.4718, allocations: 1.781 MB / 0.5413 GB, free: 5.875 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches