Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.44 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.2326/0.2326, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002292/0.002292, allocations: 83.86 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3612, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003384/0.3646, allocations: 1.736 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3666, allocations: 1.023 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3666, allocations: 5.312 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.367, allocations: 82.08 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.3674, allocations: 114.1 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3676, allocations: 82.91 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.3678, allocations: 109.2 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3679, allocations: 14.86 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/0.368, allocations: 53.77 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.3681, allocations: 59.25 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3681, allocations: 4.125 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3682, allocations: 47.42 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.436e-05/0.3683, allocations: 28.16 kB / 0.534 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.3684, allocations: 36 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.3686, allocations: 124 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3686, allocations: 1.344 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3686, allocations: 0 / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3686, allocations: 3.938 kB / 0.5341 GB, free: 10.78 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.0006127/0.3693, allocations: 427.3 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3693, allocations: 13 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.3694, allocations: 39.94 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.3694, allocations: 18.12 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3697, allocations: 214.1 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3698, allocations: 9.516 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.3698, allocations: 10.14 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.37, allocations: 53.73 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.37, allocations: 1.094 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.37, allocations: 0 / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.37, allocations: 1.156 kB / 0.5349 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.3701, allocations: 22.52 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3705, allocations: 292.8 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3707, allocations: 57.89 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.3707, allocations: 17.8 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3708, allocations: 1.031 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.371, allocations: 72.73 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.371, allocations: 0 / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.3715, allocations: 175.9 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.3716, allocations: 56.53 kB / 0.5355 GB, free: 9.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.3719, allocations: 225.7 kB / 0.5357 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3719, allocations: 30.98 kB / 0.5358 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.372, allocations: 105.6 kB / 0.5359 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.372, allocations: 36.45 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.3721, allocations: 20.12 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3722, allocations: 327 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.404e-05/0.3723, allocations: 22.3 kB / 0.5363 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.3724, allocations: 35.64 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3725, allocations: 64 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3725, allocations: 0 / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002065/0.3727, allocations: 100.2 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3727, allocations: 5.5 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3728, allocations: 0 / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3728, allocations: 1.375 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.3729, allocations: 24.3 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3729, allocations: 5.5 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.3729, allocations: 6.688 kB / 0.5365 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.373, allocations: 6.688 kB / 0.5365 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.0001144/0.3731, allocations: 132.9 kB / 0.5366 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3731, allocations: 14.5 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.3732, allocations: 14.47 kB / 0.5367 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3732, allocations: 1.312 kB / 0.5367 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3732, allocations: 5.516 kB / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3732, allocations: 3.938 kB / 0.5367 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.3737, allocations: 400.9 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3737, allocations: 0 / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.3738, allocations: 12.02 kB / 0.5371 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3738, allocations: 7.875 kB / 0.5371 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3738, allocations: 6.062 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3738, allocations: 1.062 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3738, allocations: 1.094 kB / 0.5371 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3741, allocations: 200.6 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.3742, allocations: 88.34 kB / 0.5373 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.3742, allocations: 6.219 kB / 0.5374 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.3743, allocations: 6.109 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3743, allocations: 3.469 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3743, allocations: 3.25 kB / 0.5374 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001677/0.3745, allocations: 169.2 kB / 0.5375 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 0 / 0.5375 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.3748, allocations: 24.28 kB / 0.5376 GB, free: 7.566 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.002217/0.377, allocations: 1.113 MB / 0.5386 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.3772, allocations: 53.39 kB / 0.5387 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3772, allocations: 0 / 0.5387 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.453e-05/0.3773, allocations: 33.77 kB / 0.5387 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3777, allocations: 32.5 kB / 0.5388 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3797, allocations: 1.717 MB / 0.5404 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.38, allocations: 0.7042 MB / 0.5411 GB, free: 4.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.745e-05/0.3801, allocations: 14.28 kB / 0.5411 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.3802, allocations: 43.3 kB / 0.5412 GB, free: 4.414 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3802, allocations: 0 / 0.5412 GB, free: 4.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.4073, allocations: 3.567 MB / 0.5447 GB, free: 2.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.558, allocations: 13.88 kB / 0.5447 GB, free: 2.504 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)