Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 109.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 219.5 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.2 MB / 256.2 MB, free: 8.719 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2415/0.2415, allocations: 46.88 MB / 359.4 MB, free: 4.945 MB / 286.1 MB " [Timeout remaining time 180] 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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002384/0.002384, allocations: 87.86 kB / 0.4942 GB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3589, allocations: 65.99 MB / 0.5587 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003796/0.3627, allocations: 1.733 MB / 0.5604 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3648, allocations: 1.053 MB / 0.5614 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.3649, allocations: 3.938 kB / 0.5614 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.3653, allocations: 83.7 kB / 0.5615 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.3658, allocations: 115.6 kB / 0.5616 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.366, allocations: 79.66 kB / 0.5617 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.3663, allocations: 111.7 kB / 0.5618 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3664, allocations: 9.812 kB / 0.5618 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3665, allocations: 55.77 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3666, allocations: 71.73 kB / 0.5619 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.3666, allocations: 4 kB / 0.5619 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3668, allocations: 43.98 kB / 0.5619 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.3668, allocations: 19.92 kB / 0.562 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.3669, allocations: 39.67 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3671, allocations: 127.4 kB / 0.5621 GB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3671, allocations: 4 kB / 0.5621 GB, free: 1.582 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3671, allocations: 0 / 0.5621 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3672, allocations: 0 / 0.5621 GB, free: 1.582 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.0006251/0.3678, allocations: 434.6 kB / 0.5625 GB, free: 1.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3678, allocations: 8.031 kB / 0.5625 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3679, allocations: 34.75 kB / 0.5626 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.3679, allocations: 12.84 kB / 0.5626 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3682, allocations: 220.1 kB / 0.5628 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3682, allocations: 4.375 kB / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3682, allocations: 384 / 0.5628 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3684, allocations: 61.73 kB / 0.5629 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3684, allocations: 0 / 0.5629 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3684, allocations: 4 kB / 0.5629 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3684, allocations: 7.984 kB / 0.5629 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.3685, allocations: 16 kB / 0.5629 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3689, allocations: 296.8 kB / 0.5632 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.3691, allocations: 54.62 kB / 0.5632 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.3692, allocations: 24.84 kB / 0.5632 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3692, allocations: 4 kB / 0.5633 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3694, allocations: 59.39 kB / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3694, allocations: 0 / 0.5633 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000632/0.37, allocations: 185.3 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.3701, allocations: 55.41 kB / 0.5635 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.3703, allocations: 232.2 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3704, allocations: 25.7 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.3705, allocations: 104.1 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3705, allocations: 23.8 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.3705, allocations: 29.7 kB / 0.5639 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3707, allocations: 330.7 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.3708, allocations: 23.98 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.3709, allocations: 41.64 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.371, allocations: 53.7 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.371, allocations: 4 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001977/0.3712, allocations: 105.5 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3712, allocations: 8 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3712, allocations: 0 / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3712, allocations: 0 / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.405e-05/0.3713, allocations: 12 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3713, allocations: 12.02 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.3713, allocations: 0 / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3714, allocations: 4 kB / 0.5645 GB, free: 14.89 MB / 414.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.0001244/0.3715, allocations: 137.7 kB / 0.5646 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.3715, allocations: 11.91 kB / 0.5646 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3717, allocations: 119.2 kB / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3718, allocations: 0 / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3718, allocations: 0 / 0.5648 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3718, allocations: 7.984 kB / 0.5648 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3722, allocations: 395.3 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3722, allocations: 4 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3723, allocations: 7.984 kB / 0.5652 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3723, allocations: 4 kB / 0.5652 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3723, allocations: 4.125 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3723, allocations: 3.938 kB / 0.5652 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3723, allocations: 7.938 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3726, allocations: 208.3 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.3726, allocations: 89.05 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3727, allocations: 4 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.3727, allocations: 7.938 kB / 0.5655 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3728, allocations: 384 / 0.5655 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3728, allocations: 7.984 kB / 0.5655 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3729, allocations: 169.2 kB / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3729, allocations: 3.938 kB / 0.5656 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.3732, allocations: 31.89 kB / 0.5657 GB, free: 13.57 MB / 414.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.002222/0.3754, allocations: 1.087 MB / 0.5667 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.3756, allocations: 59.86 kB / 0.5668 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3756, allocations: 0 / 0.5668 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.3757, allocations: 32.06 kB / 0.5668 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.376, allocations: 35.84 kB / 0.5669 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3781, allocations: 1.729 MB / 0.5685 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3785, allocations: 0.7041 MB / 0.5692 GB, free: 9.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.25e-05/0.3785, allocations: 16.88 kB / 0.5692 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.3786, allocations: 39.42 kB / 0.5693 GB, free: 9.902 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3786, allocations: 0 / 0.5693 GB, free: 9.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4037, allocations: 3.591 MB / 0.5728 GB, free: 6.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.608, allocations: 3.859 kB / 0.5728 GB, free: 6.332 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.607059097994352] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.731867511989549 8.754497238 8.383438449 Calling exit ...