Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, 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.001178/0.001178, 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.359/1.359, 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.215/0.215, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 79.88 kB / 481.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3635, allocations: 62.44 MB / 0.5311 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003793/0.3674, allocations: 1.687 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3692, allocations: 1.002 MB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.3692, allocations: 1.375 kB / 0.5338 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.3696, allocations: 63.09 kB / 0.5338 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.3699, allocations: 109.9 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3701, allocations: 65.62 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3703, allocations: 107.7 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.3704, allocations: 4.359 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3705, allocations: 59 kB / 0.5342 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3706, allocations: 44.41 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3706, allocations: 8.062 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.3707, allocations: 28.62 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3708, allocations: 21.41 kB / 0.5343 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.3708, allocations: 35.98 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.3711, allocations: 101.7 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3711, allocations: 5.375 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3711, allocations: 0 / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3711, allocations: 0 / 0.5344 GB, free: 11.27 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.0005758/0.3717, allocations: 418.8 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3717, allocations: 13.69 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.3718, allocations: 13.19 kB / 0.5348 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3721, allocations: 216.9 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3721, allocations: 1.438 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3721, allocations: 9.219 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3723, allocations: 47.39 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3723, allocations: 1.156 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3723, allocations: 4 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3724, allocations: 1.062 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.3724, allocations: 20.3 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.3727, allocations: 186.6 kB / 0.5353 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3728, allocations: 51.66 kB / 0.5353 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.3729, allocations: 28.94 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3729, allocations: 0 / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.3731, allocations: 60.64 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.3731, allocations: 3.938 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000292/0.3734, allocations: 91.88 kB / 0.5355 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3734, allocations: 52.81 kB / 0.5356 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3737, allocations: 195.7 kB / 0.5357 GB, free: 9.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.3737, allocations: 31.05 kB / 0.5358 GB, free: 9.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.675e-05/0.3737, allocations: 100.6 kB / 0.5359 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.3738, allocations: 22.05 kB / 0.5359 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3738, allocations: 19.47 kB / 0.5359 GB, free: 9.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.374, allocations: 322.4 kB / 0.5362 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.374, allocations: 10.88 kB / 0.5362 GB, free: 9.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.3741, allocations: 31.92 kB / 0.5363 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3742, allocations: 47.55 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3742, allocations: 0 / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001719/0.3744, allocations: 91.56 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3744, allocations: 5.562 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3744, allocations: 0 / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3745, allocations: 1.156 kB / 0.5364 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.3745, allocations: 13.05 kB / 0.5364 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3746, allocations: 5.094 kB / 0.5364 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3746, allocations: 10.22 kB / 0.5364 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3746, allocations: 2.75 kB / 0.5364 GB, free: 9.281 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.0001006/0.3747, allocations: 130.2 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.3747, allocations: 9.641 kB / 0.5366 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.074e-05/0.3748, allocations: 12.56 kB / 0.5366 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3748, allocations: 1.188 kB / 0.5366 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3748, allocations: 5.219 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3748, allocations: 0 / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.375, allocations: 193.3 kB / 0.5368 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.375, allocations: 4 kB / 0.5368 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.375, allocations: 7.344 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.375, allocations: 0 / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.375, allocations: 1.125 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3751, allocations: 1.219 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3751, allocations: 0 / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3753, allocations: 109.7 kB / 0.5369 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3753, allocations: 92.34 kB / 0.537 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3753, allocations: 5.375 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.3754, allocations: 5.562 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3754, allocations: 2.719 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3754, allocations: 1.125 kB / 0.537 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.3756, allocations: 153.1 kB / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3756, allocations: 0 / 0.5371 GB, free: 8.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.3758, allocations: 16.17 kB / 0.5371 GB, free: 8.582 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.0009655/0.3768, allocations: 421.2 kB / 0.5375 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.377, allocations: 36.52 kB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.377, allocations: 0 / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.377, allocations: 23.33 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3773, allocations: 39.94 kB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.3778, allocations: 194.7 kB / 0.5378 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.378, allocations: 0.7034 MB / 0.5385 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.3781, allocations: 16.34 kB / 0.5385 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.3781, allocations: 17.75 kB / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3781, allocations: 0 / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of Templates: time 0.004557/0.3827, allocations: 1.503 MB / 0.54 GB, free: 6.656 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches