Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001651/0.001651, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001776/0.001776, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.5 MB / 258.2 MB, free: 8.02 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.2435/0.2435, allocations: 46.92 MB / 361.6 MB, free: 4.211 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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1",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.002368/0.002368, allocations: 79.86 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3915, allocations: 66.09 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003158/0.3946, allocations: 1.606 MB / 0.5631 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3957, allocations: 0.5459 MB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.3958, allocations: 0 / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.396, allocations: 27.78 kB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.3963, allocations: 71.69 kB / 0.5637 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3965, allocations: 95.69 kB / 0.5638 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.3967, allocations: 67.78 kB / 0.5639 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.3968, allocations: 7.984 kB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.3968, allocations: 23.92 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.3969, allocations: 27.8 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3969, allocations: 0 / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.397, allocations: 35.98 kB / 0.564 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.3971, allocations: 27.84 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3971, allocations: 19.81 kB / 0.564 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3973, allocations: 75.67 kB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3973, allocations: 0 / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3973, allocations: 0 / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3973, allocations: 0 / 0.5641 GB, free: 1.676 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005037/0.3978, allocations: 313.9 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3979, allocations: 12.03 kB / 0.5644 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3979, allocations: 30.75 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3979, allocations: 8.891 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3981, allocations: 140.7 kB / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3981, allocations: 384 / 0.5646 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3981, allocations: 4.375 kB / 0.5646 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3983, allocations: 50.25 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3983, allocations: 7.875 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3983, allocations: 7.984 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3983, allocations: 4 kB / 0.5646 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.3984, allocations: 23.97 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.3988, allocations: 244 kB / 0.5649 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.399, allocations: 42.5 kB / 0.5649 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.3991, allocations: 16.94 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.3991, allocations: 4 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3991, allocations: 34.56 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3991, allocations: 0 / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005418/0.3997, allocations: 141.4 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3997, allocations: 51.41 kB / 0.5652 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3999, allocations: 152.6 kB / 0.5653 GB, free: 256 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3999, allocations: 25.7 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.3999, allocations: 100.1 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.4, allocations: 19.86 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.4, allocations: 17.7 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.4002, allocations: 318.8 kB / 0.5658 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.4002, allocations: 19.98 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-05/0.4003, allocations: 23.98 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4004, allocations: 48.77 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4004, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001812/0.4006, allocations: 77.62 kB / 0.5659 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4006, allocations: 8 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.4006, allocations: 3.984 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4006, allocations: 3.938 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.4007, allocations: 12 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4007, allocations: 4 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.4007, allocations: 3.984 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4007, allocations: 4 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001057/0.4009, allocations: 122.6 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.4009, allocations: 7.953 kB / 0.5661 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4011, allocations: 94.3 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4011, allocations: 8.047 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.4011, allocations: 4 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4011, allocations: 3.938 kB / 0.5662 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.4016, allocations: 317.5 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4016, allocations: 0 / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.4016, allocations: 19.98 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.4016, allocations: 0 / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4016, allocations: 0 / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4016, allocations: 4 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4016, allocations: 3.938 kB / 0.5665 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.4019, allocations: 179.4 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.4019, allocations: 7.953 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.4019, allocations: 0 / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.402, allocations: 4 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.402, allocations: 11.92 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.402, allocations: 4 kB / 0.5667 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001088/0.4021, allocations: 115.2 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4021, allocations: 4 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.4024, allocations: 15.94 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001952/0.4043, allocations: 1.003 MB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4046, allocations: 55.83 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4046, allocations: 0 / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.4046, allocations: 23.98 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.405, allocations: 19.92 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4068, allocations: 1.441 MB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.4071, allocations: 0.6963 MB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.4072, allocations: 7.781 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.4072, allocations: 23.42 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4072, allocations: 4 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.4356, allocations: 2.607 MB / 0.5726 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.51, allocations: 3.938 kB / 0.5726 GB, free: 8.668 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.52446086378768] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.648596948944032 8.670423277 8.26908394 Calling exit ...