Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001817/0.001817, 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.002508/0.002508, allocations: 219 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.456/1.456, allocations: 230.2 MB / 256.2 MB, free: 8.723 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.2288/0.2288, allocations: 46.89 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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",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.002364/0.002364, allocations: 83.86 kB / 0.4942 GB, free: 8.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3368, allocations: 65.99 MB / 0.5587 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003689/0.3405, allocations: 1.924 MB / 0.5606 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3425, allocations: 1.158 MB / 0.5617 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.027e-05/0.3426, allocations: 0 / 0.5617 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.343, allocations: 219.4 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.3435, allocations: 223.1 kB / 0.5621 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3438, allocations: 123.6 kB / 0.5622 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.3441, allocations: 247.4 kB / 0.5625 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3442, allocations: 19.52 kB / 0.5625 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3444, allocations: 127.5 kB / 0.5626 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3446, allocations: 171.4 kB / 0.5628 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3446, allocations: 8 kB / 0.5628 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3448, allocations: 71.97 kB / 0.5628 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.771e-05/0.3449, allocations: 59.7 kB / 0.5629 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.345, allocations: 91.3 kB / 0.563 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.3453, allocations: 242.8 kB / 0.5632 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3453, allocations: 0 / 0.5632 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3453, allocations: 0 / 0.5632 GB, free: 484 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3453, allocations: 0 / 0.5632 GB, free: 484 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008228/0.3462, allocations: 0.5833 MB / 0.5638 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3462, allocations: 8.031 kB / 0.5638 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.3463, allocations: 42.75 kB / 0.5638 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.381e-05/0.3463, allocations: 28.75 kB / 0.5639 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3467, allocations: 292.2 kB / 0.5641 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3468, allocations: 8.359 kB / 0.5642 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.3468, allocations: 8.375 kB / 0.5642 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3471, allocations: 111.5 kB / 0.5643 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.3471, allocations: 0 / 0.5643 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3471, allocations: 4 kB / 0.5643 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3471, allocations: 11.94 kB / 0.5643 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.3472, allocations: 43.91 kB / 0.5643 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3478, allocations: 476.7 kB / 0.5648 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.3482, allocations: 125.2 kB / 0.5649 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3483, allocations: 41.81 kB / 0.5649 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3484, allocations: 4 kB / 0.5649 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.3486, allocations: 124.5 kB / 0.5651 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.422e-06/0.3486, allocations: 4 kB / 0.5651 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001345/0.35, allocations: 0.4976 MB / 0.5656 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.35, allocations: 81.11 kB / 0.5656 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004916/0.3505, allocations: 448.5 kB / 0.5661 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3506, allocations: 33.7 kB / 0.5661 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3507, allocations: 156.5 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.3508, allocations: 75.42 kB / 0.5663 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.3508, allocations: 41.7 kB / 0.5664 GB, free: 13.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.351, allocations: 346.8 kB / 0.5667 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3511, allocations: 55.98 kB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3513, allocations: 95.27 kB / 0.5668 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.3516, allocations: 163.5 kB / 0.567 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3516, allocations: 0 / 0.567 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004271/0.352, allocations: 237.3 kB / 0.5672 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.352, allocations: 4 kB / 0.5672 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.352, allocations: 3.938 kB / 0.5672 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3521, allocations: 8.062 kB / 0.5672 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3522, allocations: 39.92 kB / 0.5673 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3522, allocations: 4 kB / 0.5673 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.3523, allocations: 15.94 kB / 0.5673 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3523, allocations: 8 kB / 0.5673 GB, free: 12.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001899/0.3525, allocations: 169.8 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3526, allocations: 31.8 kB / 0.5675 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.3531, allocations: 272.5 kB / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3531, allocations: 4 kB / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3531, allocations: 0 / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3531, allocations: 3.984 kB / 0.5678 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.3541, allocations: 0.739 MB / 0.5685 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3541, allocations: 11.92 kB / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.3542, allocations: 24 kB / 0.5685 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3542, allocations: 0 / 0.5685 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.3542, allocations: 11.98 kB / 0.5685 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3542, allocations: 4 kB / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3542, allocations: 0 / 0.5685 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.3547, allocations: 433.4 kB / 0.5689 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.3548, allocations: 104.9 kB / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3548, allocations: 8 kB / 0.569 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3549, allocations: 11.98 kB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.355, allocations: 23.86 kB / 0.5691 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.355, allocations: 16 kB / 0.5691 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003397/0.3554, allocations: 327 kB / 0.5694 GB, free: 9.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3554, allocations: 4 kB / 0.5694 GB, free: 9.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003621/0.3557, allocations: 51.92 kB / 0.5695 GB, free: 9.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002746/0.3585, allocations: 1.366 MB / 0.5708 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.3589, allocations: 155.8 kB / 0.5709 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3589, allocations: 0 / 0.5709 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.359, allocations: 71.84 kB / 0.571 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.3596, allocations: 63.17 kB / 0.5711 GB, free: 8.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.3634, allocations: 2.905 MB / 0.5739 GB, free: 5.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.3639, allocations: 0.7741 MB / 0.5747 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.364, allocations: 33.94 kB / 0.5747 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3641, allocations: 99.39 kB / 0.5748 GB, free: 4.215 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3641, allocations: 0 / 0.5748 GB, free: 4.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.3938, allocations: 6.476 MB / 0.5811 GB, free: 13.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.693, allocations: 4.328 kB / 0.5811 GB, free: 13.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.585919674980687] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.82160858399584 8.844213359 8.494530912 Calling exit ...