Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.001778/0.001778, allocations: 108.7 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.002197/0.002197, allocations: 217 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.508/1.508, allocations: 230.2 MB / 256.2 MB, free: 8.691 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.2311/0.2311, allocations: 46.89 MB / 359.4 MB, free: 4.922 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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",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.002322/0.002322, allocations: 95.84 kB / 0.4942 GB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3246, allocations: 65.97 MB / 0.5586 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003729/0.3283, allocations: 2.371 MB / 0.561 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.3308, allocations: 1.424 MB / 0.5624 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.3309, allocations: 7.938 kB / 0.5624 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.3315, allocations: 291 kB / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006912/0.3322, allocations: 342.5 kB / 0.563 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.3326, allocations: 211.4 kB / 0.5632 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.3332, allocations: 0.561 MB / 0.5637 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.3334, allocations: 34.92 kB / 0.5637 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.3337, allocations: 254.9 kB / 0.564 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.334, allocations: 286.9 kB / 0.5643 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.3341, allocations: 20 kB / 0.5643 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3342, allocations: 55.98 kB / 0.5643 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3344, allocations: 115.5 kB / 0.5644 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3345, allocations: 186.6 kB / 0.5646 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.335, allocations: 433.9 kB / 0.565 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.335, allocations: 0 / 0.565 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.335, allocations: 0 / 0.565 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3351, allocations: 0 / 0.565 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001251/0.3363, allocations: 0.8091 MB / 0.5658 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3363, allocations: 11.97 kB / 0.5658 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/0.3364, allocations: 54.73 kB / 0.5659 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.3365, allocations: 56.56 kB / 0.5659 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.3371, allocations: 428.3 kB / 0.5664 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3371, allocations: 16.3 kB / 0.5664 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.3372, allocations: 12.38 kB / 0.5664 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.3376, allocations: 210 kB / 0.5666 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3376, allocations: 0 / 0.5666 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3376, allocations: 8 kB / 0.5666 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3376, allocations: 3.938 kB / 0.5666 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.3379, allocations: 107.8 kB / 0.5667 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.3388, allocations: 0.8645 MB / 0.5675 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.3395, allocations: 277.2 kB / 0.5678 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.3397, allocations: 88.27 kB / 0.5679 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.3397, allocations: 7.984 kB / 0.5679 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004197/0.3401, allocations: 223.5 kB / 0.5681 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.3401, allocations: 0 / 0.5681 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.00209/0.3422, allocations: 1.042 MB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.3423, allocations: 166.2 kB / 0.5693 GB, free: 9.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.3431, allocations: 0.6514 MB / 0.5699 GB, free: 9.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3432, allocations: 33.7 kB / 0.57 GB, free: 9.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3434, allocations: 237 kB / 0.5702 GB, free: 8.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.3435, allocations: 134.9 kB / 0.5703 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3436, allocations: 70.12 kB / 0.5704 GB, free: 8.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3438, allocations: 378.8 kB / 0.5707 GB, free: 8.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.344, allocations: 100.9 kB / 0.5708 GB, free: 8.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.3443, allocations: 188.8 kB / 0.571 GB, free: 8.039 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.3449, allocations: 296.8 kB / 0.5713 GB, free: 7.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3449, allocations: 0 / 0.5713 GB, free: 7.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007406/0.3456, allocations: 412.9 kB / 0.5717 GB, free: 7.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3456, allocations: 4 kB / 0.5717 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3456, allocations: 4 kB / 0.5717 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3456, allocations: 4 kB / 0.5717 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.3459, allocations: 91.77 kB / 0.5718 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.346, allocations: 8.375 kB / 0.5718 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3462, allocations: 28.14 kB / 0.5718 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3462, allocations: 12 kB / 0.5718 GB, free: 7.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002223/0.3464, allocations: 204.4 kB / 0.572 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.3465, allocations: 71.45 kB / 0.5721 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009248/0.3474, allocations: 457.7 kB / 0.5725 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3474, allocations: 8 kB / 0.5725 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3474, allocations: 4 kB / 0.5725 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3474, allocations: 0 / 0.5725 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.3491, allocations: 1.285 MB / 0.5738 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3491, allocations: 4 kB / 0.5738 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3492, allocations: 43.92 kB / 0.5738 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.3492, allocations: 4 kB / 0.5738 GB, free: 5.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3492, allocations: 15.98 kB / 0.5739 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.3492, allocations: 7.938 kB / 0.5739 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3492, allocations: 4 kB / 0.5739 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/0.3502, allocations: 0.8284 MB / 0.5747 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.3503, allocations: 124.7 kB / 0.5748 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/0.3503, allocations: 19.98 kB / 0.5748 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3507, allocations: 19.92 kB / 0.5748 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.3507, allocations: 35.84 kB / 0.5749 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.944e-05/0.3508, allocations: 23.98 kB / 0.5749 GB, free: 3.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000555/0.3513, allocations: 486.8 kB / 0.5754 GB, free: 3.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3513, allocations: 0 / 0.5754 GB, free: 3.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005368/0.3519, allocations: 83.98 kB / 0.5754 GB, free: 3.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002844/0.3547, allocations: 1.741 MB / 0.5771 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.3554, allocations: 268.6 kB / 0.5774 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3554, allocations: 0 / 0.5774 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.3557, allocations: 144 kB / 0.5775 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.3567, allocations: 142.6 kB / 0.5777 GB, free: 1.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.363, allocations: 4.557 MB / 0.5821 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.3635, allocations: 0.8551 MB / 0.583 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.3638, allocations: 88.11 kB / 0.583 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.3641, allocations: 191.4 kB / 0.5832 GB, free: 11.27 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3641, allocations: 4 kB / 0.5832 GB, free: 11.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.4112, allocations: 10.98 MB / 0.5939 GB, free: 360 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/9.195, allocations: 10.5 kB / 0.594 GB, free: 356 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.257246365013998] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 9.32619239500491 9.354692386 9.014352116 Calling exit ...