Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.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.001843/0.001843, allocations: 108.5 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.002465/0.002465, allocations: 216.7 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.439/1.439, allocations: 230.2 MB / 256.2 MB, free: 8.727 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.2267/0.2267, allocations: 46.89 MB / 359.4 MB, free: 4.934 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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",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.002318/0.002318, allocations: 87.86 kB / 0.4942 GB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3223, allocations: 65.98 MB / 0.5587 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003881/0.3262, allocations: 1.737 MB / 0.5604 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.3283, allocations: 1.049 MB / 0.5614 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.3284, allocations: 3.938 kB / 0.5614 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.3288, allocations: 47.77 kB / 0.5614 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3291, allocations: 87.61 kB / 0.5615 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.3294, allocations: 83.66 kB / 0.5616 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.3296, allocations: 95.7 kB / 0.5617 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3297, allocations: 17.8 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3298, allocations: 43.8 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.3299, allocations: 31.78 kB / 0.5618 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3299, allocations: 4 kB / 0.5618 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.33, allocations: 43.97 kB / 0.5618 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.3301, allocations: 27.92 kB / 0.5618 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.3301, allocations: 31.75 kB / 0.5619 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3304, allocations: 119.4 kB / 0.562 GB, free: 1.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3304, allocations: 4 kB / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3304, allocations: 0 / 0.562 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3304, allocations: 0 / 0.562 GB, free: 1.707 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.0008041/0.3312, allocations: 422.6 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3313, allocations: 12.03 kB / 0.5624 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.3313, allocations: 38.73 kB / 0.5624 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.3314, allocations: 8.891 kB / 0.5625 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.3318, allocations: 216.8 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3318, allocations: 4.375 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3318, allocations: 4.375 kB / 0.5627 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.332, allocations: 61.73 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.332, allocations: 0 / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.332, allocations: 8 kB / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.332, allocations: 0 / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.3321, allocations: 15.98 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.3325, allocations: 292.8 kB / 0.563 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.3327, allocations: 54.61 kB / 0.5631 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3328, allocations: 20.8 kB / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.3328, allocations: 0 / 0.5631 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.3329, allocations: 75.38 kB / 0.5632 GB, free: 332 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3329, allocations: 0 / 0.5632 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006355/0.3336, allocations: 177.3 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3336, allocations: 55.41 kB / 0.5634 GB, free: 80 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.334, allocations: 190.4 kB / 0.5636 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.334, allocations: 29.7 kB / 0.5636 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.3341, allocations: 108.1 kB / 0.5637 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.3341, allocations: 27.78 kB / 0.5637 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.3342, allocations: 21.72 kB / 0.5638 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3343, allocations: 330.8 kB / 0.5641 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-05/0.3344, allocations: 19.98 kB / 0.5641 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.3345, allocations: 37.64 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3346, allocations: 69.77 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3346, allocations: 4 kB / 0.5642 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001974/0.3348, allocations: 101.5 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3348, allocations: 8 kB / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3348, allocations: 0 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3348, allocations: 0 / 0.5643 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.3349, allocations: 19.98 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3349, allocations: 4 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.335, allocations: 0 / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.335, allocations: 4 kB / 0.5643 GB, free: 15.07 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.0001214/0.3351, allocations: 140.8 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3351, allocations: 15.91 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.3354, allocations: 107.1 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3354, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3354, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3354, allocations: 0 / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.3359, allocations: 395.6 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3359, allocations: 4.031 kB / 0.565 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.731e-05/0.3359, allocations: 15.98 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.336, allocations: 3.984 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.336, allocations: 8 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.336, allocations: 7.875 kB / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.336, allocations: 192 / 0.565 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.3362, allocations: 196.3 kB / 0.5652 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.3363, allocations: 93 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3363, allocations: 11.98 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3364, allocations: 3.938 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3364, allocations: 7.938 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3365, allocations: 7.984 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3366, allocations: 144.2 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3366, allocations: 0 / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3369, allocations: 27.92 kB / 0.5655 GB, free: 13.79 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.002274/0.3391, allocations: 1.1 MB / 0.5665 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3393, allocations: 59.84 kB / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3394, allocations: 4 kB / 0.5666 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.3394, allocations: 19.98 kB / 0.5666 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3398, allocations: 34.92 kB / 0.5667 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3419, allocations: 1.666 MB / 0.5683 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.3423, allocations: 0.7002 MB / 0.569 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.3424, allocations: 21.17 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.3424, allocations: 39.42 kB / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3424, allocations: 4 kB / 0.569 GB, free: 10.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.3689, allocations: 3.467 MB / 0.5724 GB, free: 6.727 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.308, allocations: 7.984 kB / 0.5724 GB, free: 6.723 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.17206937802257] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.434370953997131 8.464814462 8.128812656 Calling exit ...