Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001932/0.001932, 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.00209/0.00209, allocations: 217 kB / 23 MB, free: 5.578 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.564/1.564, allocations: 230.2 MB / 256.2 MB, free: 8.52 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.2344/0.2344, allocations: 46.89 MB / 359.4 MB, free: 4.871 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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",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.002377/0.002377, allocations: 79.88 kB / 0.4942 GB, free: 8.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3307, allocations: 65.99 MB / 0.5587 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.0033/0.334, allocations: 1.931 MB / 0.5606 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3359, allocations: 1.15 MB / 0.5617 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.769e-05/0.3359, allocations: 4 kB / 0.5617 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.3364, allocations: 255.3 kB / 0.5619 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.3369, allocations: 235.2 kB / 0.5622 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3371, allocations: 119.5 kB / 0.5623 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.3374, allocations: 267.3 kB / 0.5625 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3376, allocations: 15.52 kB / 0.5625 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.3377, allocations: 147.5 kB / 0.5627 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002346/0.338, allocations: 203.4 kB / 0.5629 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.338, allocations: 8 kB / 0.5629 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3381, allocations: 71.95 kB / 0.563 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.3382, allocations: 67.64 kB / 0.563 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.3383, allocations: 99.22 kB / 0.5631 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003402/0.3387, allocations: 254.7 kB / 0.5634 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3387, allocations: 4 kB / 0.5634 GB, free: 272 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3387, allocations: 0 / 0.5634 GB, free: 272 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3387, allocations: 0 / 0.5634 GB, free: 272 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.0007934/0.3395, allocations: 0.5987 MB / 0.5639 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3395, allocations: 8.031 kB / 0.564 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.3395, allocations: 38.75 kB / 0.564 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.3396, allocations: 28.75 kB / 0.564 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.34, allocations: 306.7 kB / 0.5643 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.34, allocations: 4.375 kB / 0.5643 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.34, allocations: 12.38 kB / 0.5643 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.3403, allocations: 111.4 kB / 0.5644 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3403, allocations: 0 / 0.5644 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.3403, allocations: 4 kB / 0.5644 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3403, allocations: 4 kB / 0.5644 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3404, allocations: 43.97 kB / 0.5645 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.341, allocations: 492.7 kB / 0.565 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.3414, allocations: 121.2 kB / 0.5651 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3415, allocations: 41.83 kB / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3415, allocations: 0 / 0.5651 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/0.3417, allocations: 121 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3417, allocations: 3.938 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001314/0.343, allocations: 0.5171 MB / 0.5657 GB, free: 13.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3431, allocations: 77.11 kB / 0.5658 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.3436, allocations: 0.4898 MB / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3437, allocations: 33.7 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.3438, allocations: 172.5 kB / 0.5665 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.3439, allocations: 67.42 kB / 0.5665 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.3439, allocations: 45.7 kB / 0.5666 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3441, allocations: 350.8 kB / 0.5669 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3442, allocations: 59.97 kB / 0.567 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3444, allocations: 91.34 kB / 0.5671 GB, free: 12.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3447, allocations: 167.4 kB / 0.5672 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3447, allocations: 3.938 kB / 0.5672 GB, free: 12.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004217/0.3451, allocations: 233.3 kB / 0.5675 GB, free: 11.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3451, allocations: 6.5 kB / 0.5675 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3451, allocations: 3.938 kB / 0.5675 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3451, allocations: 4 kB / 0.5675 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3453, allocations: 51.89 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3453, allocations: 4 kB / 0.5675 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.3454, allocations: 16 kB / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3454, allocations: 8 kB / 0.5675 GB, free: 11.69 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.0001729/0.3456, allocations: 173.8 kB / 0.5677 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.3456, allocations: 39.75 kB / 0.5677 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005278/0.3461, allocations: 268.5 kB / 0.568 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3461, allocations: 0 / 0.568 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3461, allocations: 8 kB / 0.568 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3461, allocations: 0 / 0.568 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.3471, allocations: 0.7428 MB / 0.5687 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3471, allocations: 0 / 0.5687 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.3472, allocations: 27.94 kB / 0.5688 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.3472, allocations: 4 kB / 0.5688 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3472, allocations: 16.11 kB / 0.5688 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3472, allocations: 4 kB / 0.5688 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3472, allocations: 0 / 0.5688 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.3477, allocations: 433.2 kB / 0.5692 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.3478, allocations: 100.9 kB / 0.5693 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3478, allocations: 8 kB / 0.5693 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.348, allocations: 7.984 kB / 0.5693 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.348, allocations: 23.92 kB / 0.5693 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.348, allocations: 11.98 kB / 0.5693 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003906/0.3484, allocations: 371.1 kB / 0.5697 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 4 kB / 0.5697 GB, free: 9.344 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.3488, allocations: 51.94 kB / 0.5698 GB, free: 9.293 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.002588/0.3514, allocations: 1.375 MB / 0.5711 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.3517, allocations: 147.8 kB / 0.5712 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3517, allocations: 0 / 0.5712 GB, free: 7.934 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3519, allocations: 76.16 kB / 0.5713 GB, free: 7.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3525, allocations: 75.77 kB / 0.5714 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.3561, allocations: 3.021 MB / 0.5743 GB, free: 4.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.3566, allocations: 0.7792 MB / 0.5751 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.3567, allocations: 41.92 kB / 0.5751 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3568, allocations: 103.4 kB / 0.5752 GB, free: 3.703 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3568, allocations: 0 / 0.5752 GB, free: 3.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/0.3869, allocations: 6.692 MB / 0.5818 GB, free: 13.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.798, allocations: 0 / 0.5818 GB, free: 13.04 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.83518522902159] 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.927032886975212 8.94904895 8.606219803 Calling exit ...