Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001216, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2423/0.2423, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 83.86 kB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4475, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.004379/0.4519, allocations: 1.752 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.4547, allocations: 1.023 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.4548, allocations: 1.156 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004724/0.4553, allocations: 98.02 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.4559, allocations: 120.7 kB / 0.534 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.4562, allocations: 79.55 kB / 0.5341 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.4565, allocations: 116.9 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4566, allocations: 18.81 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.4568, allocations: 60.53 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.457, allocations: 63.44 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.457, allocations: 5.5 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.4572, allocations: 62.47 kB / 0.5344 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.4572, allocations: 33.41 kB / 0.5344 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.4573, allocations: 39.98 kB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.4577, allocations: 139.7 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4577, allocations: 0 / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4577, allocations: 4 kB / 0.5346 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.4577, allocations: 3.938 kB / 0.5346 GB, free: 10.96 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.0007463/0.4585, allocations: 436.4 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.4585, allocations: 9.625 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.4586, allocations: 11.72 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/0.459, allocations: 227.4 kB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.459, allocations: 1.75 kB / 0.5353 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.4591, allocations: 10.88 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.4593, allocations: 60.58 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4593, allocations: 5.422 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.4594, allocations: 0 / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4594, allocations: 1.469 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4595, allocations: 19.67 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.46, allocations: 309.5 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.4603, allocations: 65.61 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.4604, allocations: 18.92 kB / 0.5357 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.4604, allocations: 5.141 kB / 0.5357 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.4606, allocations: 69.61 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.4606, allocations: 0 / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001113/0.4618, allocations: 248.2 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.4619, allocations: 64.42 kB / 0.5361 GB, free: 9.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.4623, allocations: 236.6 kB / 0.5363 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.4623, allocations: 26.77 kB / 0.5363 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.4625, allocations: 110.8 kB / 0.5365 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4625, allocations: 37.27 kB / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.4626, allocations: 25.59 kB / 0.5365 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4628, allocations: 323.5 kB / 0.5368 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.4629, allocations: 34.86 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.463, allocations: 47.02 kB / 0.5369 GB, free: 8.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4632, allocations: 85.25 kB / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4632, allocations: 0 / 0.537 GB, free: 8.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003247/0.4636, allocations: 127.1 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4636, allocations: 4.375 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4636, allocations: 0.7188 kB / 0.5371 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4636, allocations: 9.25 kB / 0.5371 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4638, allocations: 25.23 kB / 0.5371 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4638, allocations: 5.031 kB / 0.5371 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.4639, allocations: 6.312 kB / 0.5372 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.4639, allocations: 3.375 kB / 0.5372 GB, free: 8.668 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.0001628/0.4641, allocations: 131.9 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.4641, allocations: 14.31 kB / 0.5373 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.4642, allocations: 24.03 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4642, allocations: 5.156 kB / 0.5373 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.4642, allocations: 4.906 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4642, allocations: 3.938 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007379/0.465, allocations: 463.8 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.465, allocations: 0 / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.4651, allocations: 15.56 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4651, allocations: 2.438 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4651, allocations: 5.484 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4651, allocations: 9.453 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4651, allocations: 1.531 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.4655, allocations: 225.8 kB / 0.538 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.4656, allocations: 96.88 kB / 0.5381 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.4656, allocations: 10.36 kB / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.4657, allocations: 6.281 kB / 0.5381 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.4658, allocations: 12.67 kB / 0.5381 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.4659, allocations: 4.219 kB / 0.5381 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002218/0.4661, allocations: 174.3 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4661, allocations: 3.938 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.4665, allocations: 24.78 kB / 0.5383 GB, free: 7.617 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.001732/0.4683, allocations: 0.4932 MB / 0.5388 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.4686, allocations: 85.69 kB / 0.5389 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4686, allocations: 0 / 0.5389 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4688, allocations: 43.98 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.4693, allocations: 36.22 kB / 0.539 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.4701, allocations: 297.1 kB / 0.5393 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.4705, allocations: 0.7166 MB / 0.54 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.4706, allocations: 19.38 kB / 0.54 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.4707, allocations: 17.25 kB / 0.54 GB, free: 6.336 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4707, allocations: 5.062 kB / 0.54 GB, free: 6.332 MB / 398.1 MB Notification: Performance of Templates: time 0.007347/0.4781, allocations: 2.019 MB / 0.542 GB, free: 5.312 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches