Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001278/0.001278, allocations: 109 kB / 20.42 MB, free: 1.535 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.001478/0.001478, allocations: 211.5 kB / 23.72 MB, free: 4.965 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.442/1.442, allocations: 230.2 MB / 257.1 MB, free: 8.504 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.2289/0.2289, allocations: 46.89 MB / 360.3 MB, free: 4.723 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2",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.002287/0.002287, allocations: 91.78 kB / 0.4956 GB, free: 8.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2969, allocations: 65.99 MB / 0.56 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00316/0.3001, allocations: 1.609 MB / 0.5616 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3012, allocations: 0.5538 MB / 0.5621 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.3013, allocations: 4 kB / 0.5621 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.3015, allocations: 19.86 kB / 0.5621 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.3017, allocations: 75.62 kB / 0.5622 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.302, allocations: 119.3 kB / 0.5623 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3022, allocations: 63.78 kB / 0.5624 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3023, allocations: 13.81 kB / 0.5624 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.3023, allocations: 19.94 kB / 0.5624 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.3024, allocations: 27.78 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3024, allocations: 4 kB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.451e-05/0.3025, allocations: 31.98 kB / 0.5625 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.3025, allocations: 19.86 kB / 0.5625 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.3026, allocations: 23.81 kB / 0.5625 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.3028, allocations: 83.66 kB / 0.5626 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3028, allocations: 0 / 0.5626 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3028, allocations: 0 / 0.5626 GB, free: 2.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3028, allocations: 0 / 0.5626 GB, free: 2.25 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.0005296/0.3033, allocations: 387 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3034, allocations: 8.031 kB / 0.563 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.3034, allocations: 30.75 kB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.3034, allocations: 8.891 kB / 0.563 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3037, allocations: 202.4 kB / 0.5632 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3037, allocations: 4.375 kB / 0.5632 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.3037, allocations: 4.375 kB / 0.5632 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3039, allocations: 50.23 kB / 0.5633 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3039, allocations: 3.938 kB / 0.5633 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3039, allocations: 3.938 kB / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3039, allocations: 0 / 0.5633 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.304, allocations: 23.98 kB / 0.5633 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004469/0.3045, allocations: 296.8 kB / 0.5636 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3047, allocations: 42.56 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.3047, allocations: 16.94 kB / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3047, allocations: 0 / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3048, allocations: 34.56 kB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3048, allocations: 0 / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000566/0.3053, allocations: 149.4 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3054, allocations: 55.41 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3055, allocations: 150.1 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3056, allocations: 25.7 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.3056, allocations: 96.08 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3056, allocations: 23.84 kB / 0.5641 GB, free: 464 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3057, allocations: 21.72 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3059, allocations: 322.8 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.3059, allocations: 15.98 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.856e-05/0.306, allocations: 27.92 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3062, allocations: 48.83 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3062, allocations: 0 / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002846/0.3064, allocations: 93.66 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3065, allocations: 4 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3065, allocations: 0 / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3065, allocations: 3.938 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.625e-05/0.3065, allocations: 15.98 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3066, allocations: 0 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.3066, allocations: 256 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.3066, allocations: 15.94 kB / 0.5647 GB, free: 15.87 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 9.662e-05/0.3067, allocations: 125.8 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.3067, allocations: 7.953 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.307, allocations: 98.19 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.307, allocations: 3.984 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.307, allocations: 0 / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.307, allocations: 3.984 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.3075, allocations: 362.4 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3075, allocations: 0 / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.3076, allocations: 12 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3076, allocations: 0 / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3076, allocations: 0 / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3076, allocations: 3.984 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3076, allocations: 7.938 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3078, allocations: 183.4 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.3079, allocations: 85.06 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3079, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.308, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.308, allocations: 7.922 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.308, allocations: 4 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.095e-05/0.3081, allocations: 113.5 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3081, allocations: 0 / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.3084, allocations: 19.92 kB / 0.5657 GB, free: 14.74 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.001899/0.3103, allocations: 1.019 MB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002137/0.3105, allocations: 55.91 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3105, allocations: 7.938 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.3106, allocations: 27.97 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3109, allocations: 18.69 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.3127, allocations: 1.469 MB / 0.5682 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.313, allocations: 0.6996 MB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.3131, allocations: 16.02 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.3132, allocations: 23.42 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3132, allocations: 0 / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.3372, allocations: 2.591 MB / 0.5715 GB, free: 8.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.291, allocations: 7.266 kB / 0.5715 GB, free: 8.805 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.081330365967005] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.412387460004538 8.428409492 8.122406374 Calling exit ...