Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, 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.00139/0.00139, 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.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2603/0.2603, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00323/0.00323, allocations: 76.33 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3643, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003101/0.3675, allocations: 1.742 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3692, allocations: 1.015 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.3693, allocations: 0 / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.3696, allocations: 48.47 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.3699, allocations: 100.6 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3702, allocations: 82.88 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3703, allocations: 105.7 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.3705, allocations: 10.67 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.3705, allocations: 43.53 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.3706, allocations: 38.31 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3707, allocations: 3.062 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3708, allocations: 40.89 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.3708, allocations: 24.16 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.3709, allocations: 35.94 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3711, allocations: 137.9 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3711, allocations: 3.938 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3711, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3712, allocations: 1.375 kB / 0.534 GB, free: 10.79 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.0005896/0.3718, allocations: 435.5 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3718, allocations: 9.625 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.3718, allocations: 36.12 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3719, allocations: 10.39 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3722, allocations: 223.6 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3722, allocations: 1.75 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3723, allocations: 10.69 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3724, allocations: 53.98 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3724, allocations: 0 / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3725, allocations: 4 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3725, allocations: 1.375 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.18e-05/0.3725, allocations: 18.98 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3729, allocations: 297.6 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3731, allocations: 64.47 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.3732, allocations: 18.48 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3732, allocations: 1.375 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.3734, allocations: 73.14 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.947e-06/0.3734, allocations: 0 / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005683/0.374, allocations: 187.6 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.374, allocations: 56.78 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.3743, allocations: 235.8 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3743, allocations: 30.95 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.3744, allocations: 109.9 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3745, allocations: 23.84 kB / 0.5358 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.3745, allocations: 24.62 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3747, allocations: 332.1 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.3747, allocations: 18.56 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.3748, allocations: 42.42 kB / 0.5362 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.375, allocations: 56.23 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.375, allocations: 0 / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.3752, allocations: 107.6 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3753, allocations: 5.562 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3753, allocations: 1.25 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3753, allocations: 0 / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3754, allocations: 17.33 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3754, allocations: 1.094 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3755, allocations: 10.09 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3755, allocations: 2.406 kB / 0.5364 GB, free: 8.531 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.0001249/0.3756, allocations: 141.7 kB / 0.5366 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3757, allocations: 14.59 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.3757, allocations: 19.14 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3757, allocations: 2.094 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3757, allocations: 0 / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3758, allocations: 3.938 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.3763, allocations: 401.7 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3763, allocations: 1.188 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.3763, allocations: 7.5 kB / 0.537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3763, allocations: 9 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3763, allocations: 1.125 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3763, allocations: 1.094 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3764, allocations: 5.594 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3766, allocations: 217 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.3767, allocations: 88.67 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3767, allocations: 9.219 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.3768, allocations: 11.03 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3768, allocations: 7.234 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3769, allocations: 3.344 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.377, allocations: 177.2 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.377, allocations: 0 / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3773, allocations: 17.72 kB / 0.5375 GB, free: 7.543 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.002179/0.3795, allocations: 1.102 MB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3797, allocations: 50.58 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3797, allocations: 0 / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/0.3798, allocations: 33.08 kB / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3802, allocations: 28.83 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3822, allocations: 1.751 MB / 0.5404 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3825, allocations: 0.7127 MB / 0.5411 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.3826, allocations: 18.52 kB / 0.5411 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.3826, allocations: 39.83 kB / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3827, allocations: 0 / 0.5412 GB, free: 4.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4071, allocations: 3.623 MB / 0.5447 GB, free: 2.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.428, allocations: 9.25 kB / 0.5447 GB, free: 2.445 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)