Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, 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.2373/0.2373, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 75.88 kB / 481.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3917, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004985/0.3967, allocations: 1.689 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3998, allocations: 1.006 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3999, allocations: 1.375 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.4004, allocations: 45.62 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.4009, allocations: 107.2 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.4013, allocations: 69.61 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.4016, allocations: 98.14 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.916e-05/0.4016, allocations: 13.7 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.4018, allocations: 38.92 kB / 0.5341 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4019, allocations: 25.48 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.402, allocations: 4.125 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.4021, allocations: 40.59 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.4022, allocations: 30.86 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.366e-05/0.4023, allocations: 43.91 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.4027, allocations: 128.5 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4027, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4027, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4027, allocations: 0 / 0.5343 GB, free: 11.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007672/0.4035, allocations: 433 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4036, allocations: 8.406 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.4036, allocations: 11.84 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.4041, allocations: 222.8 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.4041, allocations: 2.062 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.4041, allocations: 6.344 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4044, allocations: 50.27 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4044, allocations: 1.469 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4044, allocations: 3.938 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.4044, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4046, allocations: 20.48 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.4049, allocations: 193.1 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.4052, allocations: 53.84 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4053, allocations: 25.09 kB / 0.5353 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4053, allocations: 5.125 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.4056, allocations: 68.39 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.444e-06/0.4056, allocations: 4 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005007/0.4061, allocations: 97.39 kB / 0.5355 GB, free: 9.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4062, allocations: 56.34 kB / 0.5355 GB, free: 9.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.4067, allocations: 271.4 kB / 0.5358 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.4067, allocations: 29.7 kB / 0.5358 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.4068, allocations: 112.2 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.4069, allocations: 10.34 kB / 0.5359 GB, free: 9.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.407, allocations: 18.72 kB / 0.5359 GB, free: 9.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4072, allocations: 335.3 kB / 0.5363 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.4073, allocations: 16.23 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4074, allocations: 30.7 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4076, allocations: 43.83 kB / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4076, allocations: 0 / 0.5363 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003321/0.408, allocations: 93.59 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.408, allocations: 9.375 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.408, allocations: 0 / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4081, allocations: 1.188 kB / 0.5364 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4082, allocations: 12.67 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.4082, allocations: 1.469 kB / 0.5365 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.4084, allocations: 6.281 kB / 0.5365 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4084, allocations: 2.562 kB / 0.5365 GB, free: 9.023 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 (7): * Single equations (assignments): 7 * 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.0001877/0.4086, allocations: 136.3 kB / 0.5366 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.4086, allocations: 10.38 kB / 0.5366 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.4087, allocations: 28.17 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4087, allocations: 1.281 kB / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4088, allocations: 0 / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.4088, allocations: 0 / 0.5366 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.4091, allocations: 203.7 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4091, allocations: 0 / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.4091, allocations: 3.938 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4091, allocations: 3.938 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4092, allocations: 1.281 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4092, allocations: 1.219 kB / 0.5368 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4092, allocations: 4 kB / 0.5368 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.4095, allocations: 119.7 kB / 0.537 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.4096, allocations: 95.47 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.4097, allocations: 1.344 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.4098, allocations: 1.188 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.4098, allocations: 2.719 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.4099, allocations: 2.688 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.4102, allocations: 214 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4102, allocations: 0 / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.4107, allocations: 22.16 kB / 0.5373 GB, free: 8.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001715/0.4124, allocations: 396.6 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.4127, allocations: 43.78 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4127, allocations: 0 / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.4129, allocations: 23.92 kB / 0.5377 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.4134, allocations: 40.02 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.4142, allocations: 259.1 kB / 0.538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.4147, allocations: 0.7151 MB / 0.5387 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.4148, allocations: 17.28 kB / 0.5387 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.4148, allocations: 13.66 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4149, allocations: 0 / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of Templates: time 0.007855/0.4227, allocations: 1.545 MB / 0.5402 GB, free: 6.32 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches