Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 204.5 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247 MB, free: 10.46 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.2805/0.2805, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002269/0.00227, allocations: 72.09 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3622, allocations: 62.44 MB / 0.5307 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002998/0.3652, allocations: 1.736 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.3677, allocations: 1.625 MB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.3678, allocations: 9.938 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3681, allocations: 36.05 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3684, allocations: 96.44 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.3686, allocations: 83.16 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3688, allocations: 102 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.3689, allocations: 10.5 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.012e-05/0.369, allocations: 57.11 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3692, allocations: 39.16 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.3692, allocations: 9.031 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.3694, allocations: 101.7 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.847e-05/0.3695, allocations: 25.34 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.3695, allocations: 31.58 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3698, allocations: 170.9 kB / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3698, allocations: 0 / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3698, allocations: 0 / 0.5347 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3699, allocations: 1.219 kB / 0.5347 GB, free: 10.29 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.0005819/0.3704, allocations: 429.2 kB / 0.5351 GB, free: 9.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3705, allocations: 10.56 kB / 0.5351 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/0.3705, allocations: 39.64 kB / 0.5352 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.3706, allocations: 13.12 kB / 0.5352 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3709, allocations: 224.9 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3709, allocations: 1.438 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3709, allocations: 2.312 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3711, allocations: 70.8 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3711, allocations: 0 / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3711, allocations: 0 / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3712, allocations: 1.281 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.719e-05/0.3712, allocations: 22.52 kB / 0.5355 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.3716, allocations: 289.3 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3718, allocations: 61.67 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.3719, allocations: 22.48 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3719, allocations: 1.375 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.372, allocations: 65.14 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.372, allocations: 7.875 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005332/0.3726, allocations: 169 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.3727, allocations: 86.42 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3728, allocations: 169 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3729, allocations: 27.08 kB / 0.5363 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.3729, allocations: 96.25 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.373, allocations: 31.86 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.373, allocations: 28.58 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3732, allocations: 321.6 kB / 0.5368 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.3732, allocations: 26.94 kB / 0.5368 GB, free: 8.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.3733, allocations: 45.48 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3734, allocations: 58.53 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3735, allocations: 1.188 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001978/0.3737, allocations: 99.03 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3737, allocations: 5.406 kB / 0.537 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3737, allocations: 4.062 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3737, allocations: 1.062 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.3738, allocations: 20.97 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3738, allocations: 1 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.3739, allocations: 6.203 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3739, allocations: 3.219 kB / 0.537 GB, free: 8.02 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 9.892e-05/0.374, allocations: 120.1 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.374, allocations: 9.391 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.3741, allocations: 16.89 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3741, allocations: 9 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3741, allocations: 0 / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3741, allocations: 0 / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.3746, allocations: 397.4 kB / 0.5376 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3746, allocations: 3.938 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3747, allocations: 8 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3747, allocations: 1.781 kB / 0.5376 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3747, allocations: 9.109 kB / 0.5376 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.3747, allocations: 9.094 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.3747, allocations: 3.938 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.375, allocations: 197.4 kB / 0.5378 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.375, allocations: 87.44 kB / 0.5379 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3751, allocations: 5.156 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.3752, allocations: 6.641 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3752, allocations: 11.77 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.3752, allocations: 3.188 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.3753, allocations: 131.6 kB / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3754, allocations: 0 / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.3757, allocations: 45.38 kB / 0.5381 GB, free: 7.062 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.002373/0.3781, allocations: 1.191 MB / 0.5392 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3783, allocations: 58.48 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3783, allocations: 1.125 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.3784, allocations: 33.08 kB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3788, allocations: 33.17 kB / 0.5394 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3807, allocations: 1.592 MB / 0.5409 GB, free: 4.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3811, allocations: 0.6989 MB / 0.5416 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.3812, allocations: 23.86 kB / 0.5416 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.799e-05/0.3813, allocations: 41.59 kB / 0.5417 GB, free: 3.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3813, allocations: 3.938 kB / 0.5417 GB, free: 3.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.4075, allocations: 4.03 MB / 0.5456 GB, free: 1.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/8.52, allocations: 9.984 kB / 0.5456 GB, free: 1.684 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)