Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 117.6 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.001352/0.001352, allocations: 200.7 kB / 18.74 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.405/1.405, allocations: 227.4 MB / 247 MB, free: 10.39 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.2534/0.2534, allocations: 46.12 MB / 344.4 MB, free: 11.41 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.002236/0.002236, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3586, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003318/0.362, allocations: 1.691 MB / 0.5323 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3636, allocations: 1.006 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.3636, allocations: 1.375 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.364, allocations: 53.62 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3643, allocations: 93.84 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3645, allocations: 74.92 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3647, allocations: 94.36 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3647, allocations: 13.12 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.877e-05/0.3648, allocations: 42.47 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.3649, allocations: 25.64 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.365, allocations: 3.594 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.3651, allocations: 40.62 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.3651, allocations: 26.61 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.3652, allocations: 39.91 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3654, allocations: 132.5 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3655, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3655, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3655, allocations: 0 / 0.5339 GB, free: 10.83 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.0006478/0.3661, allocations: 442 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3662, allocations: 10.31 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.3662, allocations: 34.69 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3663, allocations: 15.94 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3666, allocations: 227.1 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3666, allocations: 1.5 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.3666, allocations: 6.594 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3668, allocations: 47.2 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3668, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3668, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3668, allocations: 5.031 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.3669, allocations: 19.36 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.3671, allocations: 193 kB / 0.5349 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.3673, allocations: 54.19 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.467e-05/0.3674, allocations: 21.81 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3674, allocations: 1.188 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.3676, allocations: 63.92 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3676, allocations: 4 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002922/0.3679, allocations: 102 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.3679, allocations: 51.41 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.3682, allocations: 274.8 kB / 0.5354 GB, free: 9.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3682, allocations: 27.08 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.3683, allocations: 111 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3683, allocations: 22.59 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3684, allocations: 19.22 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3686, allocations: 334.9 kB / 0.5359 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.196e-05/0.3686, allocations: 16.23 kB / 0.5359 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.3687, allocations: 27.33 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.3688, allocations: 47.52 kB / 0.536 GB, free: 8.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3688, allocations: 3.938 kB / 0.536 GB, free: 8.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.369, allocations: 89.47 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.369, allocations: 5.5 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.369, allocations: 0 / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.369, allocations: 1.375 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.3691, allocations: 13.62 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3691, allocations: 3.984 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.549e-05/0.3691, allocations: 6.703 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3692, allocations: 2.75 kB / 0.5361 GB, free: 8.723 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.0001271/0.3693, allocations: 140.8 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3693, allocations: 17.44 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.3694, allocations: 21.23 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3694, allocations: 0 / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3694, allocations: 1.375 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3694, allocations: 0 / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3696, allocations: 199.6 kB / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3696, allocations: 0 / 0.5365 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.3696, allocations: 6.688 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3696, allocations: 5.312 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3696, allocations: 1.375 kB / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3696, allocations: 0 / 0.5365 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3696, allocations: 4 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.3698, allocations: 119.9 kB / 0.5366 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.3699, allocations: 88.08 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3699, allocations: 5.047 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.37, allocations: 1.469 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.37, allocations: 6.25 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.37, allocations: 2.531 kB / 0.5367 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.3702, allocations: 206.7 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3702, allocations: 0 / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.3704, allocations: 21.47 kB / 0.5369 GB, free: 7.984 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.001903/0.3724, allocations: 0.9428 MB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.3725, allocations: 40.55 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3726, allocations: 3.938 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.517e-05/0.3726, allocations: 23.44 kB / 0.5379 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.3729, allocations: 31.98 kB / 0.538 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3748, allocations: 1.676 MB / 0.5396 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3752, allocations: 0.7191 MB / 0.5403 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.3752, allocations: 20.62 kB / 0.5403 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.3753, allocations: 41.77 kB / 0.5404 GB, free: 5.023 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3753, allocations: 0 / 0.5404 GB, free: 5.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.4009, allocations: 3.497 MB / 0.5438 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.467, allocations: 14.16 kB / 0.5438 GB, free: 3.148 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)