Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.001277/0.001277, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.00146/0.00146, allocations: 214.4 kB / 23 MB, free: 5.582 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.568/1.568, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2425/0.2425, allocations: 46.89 MB / 359.4 MB, free: 4.891 MB / 286.1 MB " [Timeout remaining time 179] 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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",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.002248/0.002248, allocations: 75.88 kB / 0.4942 GB, free: 8.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3473, allocations: 66 MB / 0.5587 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003865/0.3512, allocations: 1.736 MB / 0.5604 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3538, allocations: 1.714 MB / 0.562 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.3539, allocations: 0 / 0.562 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3542, allocations: 35.77 kB / 0.5621 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.3545, allocations: 103.5 kB / 0.5622 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.3547, allocations: 83.66 kB / 0.5622 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3549, allocations: 99.69 kB / 0.5623 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.046e-05/0.355, allocations: 13.83 kB / 0.5624 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3551, allocations: 51.77 kB / 0.5624 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.3553, allocations: 43.78 kB / 0.5624 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3553, allocations: 4 kB / 0.5624 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3555, allocations: 107.9 kB / 0.5626 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.3555, allocations: 23.91 kB / 0.5626 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.295e-05/0.3556, allocations: 31.75 kB / 0.5626 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3559, allocations: 167.4 kB / 0.5628 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3559, allocations: 7.938 kB / 0.5628 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3559, allocations: 3.938 kB / 0.5628 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3559, allocations: 0 / 0.5628 GB, free: 0.8906 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.0006144/0.3565, allocations: 426.6 kB / 0.5632 GB, free: 436 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3566, allocations: 8.031 kB / 0.5632 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.732e-05/0.3566, allocations: 42.75 kB / 0.5632 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.3567, allocations: 12.84 kB / 0.5632 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.357, allocations: 220 kB / 0.5635 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3571, allocations: 4.375 kB / 0.5635 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3571, allocations: 7.938 kB / 0.5635 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3573, allocations: 67.38 kB / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3573, allocations: 0 / 0.5635 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3573, allocations: 11.94 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3573, allocations: 0 / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.3574, allocations: 15.98 kB / 0.5636 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004178/0.3578, allocations: 292.8 kB / 0.5638 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.358, allocations: 50.67 kB / 0.5639 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.358, allocations: 16.86 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3581, allocations: 4 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.3582, allocations: 75.31 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3582, allocations: 0 / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005503/0.3588, allocations: 169.4 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.3589, allocations: 85.03 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.359, allocations: 161.7 kB / 0.5644 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3591, allocations: 37.69 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.3591, allocations: 92.14 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3592, allocations: 35.72 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.3592, allocations: 25.72 kB / 0.5646 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3594, allocations: 322.8 kB / 0.5649 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.3594, allocations: 19.98 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.3595, allocations: 42.56 kB / 0.5649 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3596, allocations: 57.66 kB / 0.565 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3596, allocations: 32 / 0.565 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3598, allocations: 105.6 kB / 0.5651 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3598, allocations: 8 kB / 0.5651 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3598, allocations: 0 / 0.5651 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3598, allocations: 192 / 0.5651 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3599, allocations: 20.3 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3599, allocations: 7.938 kB / 0.5651 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.36, allocations: 3.938 kB / 0.5651 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.36, allocations: 8 kB / 0.5651 GB, free: 14.23 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.0001063/0.3601, allocations: 125.9 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3601, allocations: 11.94 kB / 0.5653 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3604, allocations: 114.5 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.3604, allocations: 0 / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3604, allocations: 0 / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.3604, allocations: 7.922 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.3609, allocations: 403.2 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3609, allocations: 4.031 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.3609, allocations: 8 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.3609, allocations: 3.938 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3609, allocations: 0 / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3609, allocations: 4 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3609, allocations: 0 / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3612, allocations: 208.2 kB / 0.566 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.3613, allocations: 85.06 kB / 0.5661 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.3613, allocations: 7.938 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3614, allocations: 0 / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3614, allocations: 11.98 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3614, allocations: 4 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.3615, allocations: 123.2 kB / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3615, allocations: 0 / 0.5662 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.3618, allocations: 47.86 kB / 0.5662 GB, free: 12.97 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.002377/0.3642, allocations: 1.183 MB / 0.5674 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3644, allocations: 59.95 kB / 0.5675 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3644, allocations: 7.938 kB / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.3645, allocations: 23.92 kB / 0.5675 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3649, allocations: 39.52 kB / 0.5675 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.3667, allocations: 1.604 MB / 0.5691 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.3671, allocations: 0.6963 MB / 0.5698 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.3671, allocations: 21.17 kB / 0.5698 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.3672, allocations: 35.42 kB / 0.5698 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3672, allocations: 0 / 0.5698 GB, free: 9.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.3948, allocations: 4.038 MB / 0.5738 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.433, allocations: 4.062 kB / 0.5738 GB, free: 5.305 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.490877470001578] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.561542073992314 8.583460649 8.223384392 Calling exit ...