Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001945/0.001945, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002079/0.002079, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.556/1.556, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2482/0.2482, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4",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.002599/0.002599, allocations: 79.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3611, allocations: 66.07 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003533/0.3646, allocations: 1.677 MB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.3658, allocations: 0.5615 MB / 0.5637 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.024e-05/0.3658, allocations: 3.938 kB / 0.5637 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.3662, allocations: 99.73 kB / 0.5638 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.3665, allocations: 107.6 kB / 0.5639 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3668, allocations: 99.69 kB / 0.564 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.367, allocations: 99.73 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3671, allocations: 15.98 kB / 0.5641 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.159e-05/0.3672, allocations: 51.83 kB / 0.5642 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3673, allocations: 67.8 kB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.3673, allocations: 4 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3674, allocations: 43.98 kB / 0.5643 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.3675, allocations: 31.86 kB / 0.5643 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.3676, allocations: 51.59 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.3678, allocations: 119.4 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3678, allocations: 0 / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3678, allocations: 4 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3678, allocations: 0 / 0.5645 GB, free: 1.281 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005483/0.3684, allocations: 353.5 kB / 0.5648 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3684, allocations: 19.95 kB / 0.5648 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.3685, allocations: 34.75 kB / 0.5649 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.3685, allocations: 16.84 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.3687, allocations: 158.2 kB / 0.565 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3687, allocations: 8.375 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3688, allocations: 8.375 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3689, allocations: 62.23 kB / 0.5651 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.369, allocations: 7.891 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.369, allocations: 8 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.369, allocations: 4 kB / 0.5651 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3691, allocations: 35.95 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3696, allocations: 299.8 kB / 0.5654 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.3698, allocations: 62.56 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.3698, allocations: 24.84 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3699, allocations: 3.938 kB / 0.5655 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3699, allocations: 34.56 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.3699, allocations: 0 / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001087/0.371, allocations: 313.8 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.371, allocations: 59.34 kB / 0.5659 GB, free: 15.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.3714, allocations: 239.5 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3714, allocations: 25.7 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.3715, allocations: 116 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.3716, allocations: 51.56 kB / 0.5663 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3716, allocations: 29.7 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3718, allocations: 326.8 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3719, allocations: 39.97 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.372, allocations: 31.98 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3722, allocations: 96.14 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3722, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002661/0.3724, allocations: 141.6 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3725, allocations: 6.5 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3725, allocations: 0 / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3725, allocations: 4 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3726, allocations: 31.91 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3726, allocations: 3.938 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3727, allocations: 4 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3727, allocations: 4 kB / 0.567 GB, free: 14.47 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 (13): * Single equations (assignments): 13 * 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.0001225/0.3728, allocations: 138.7 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3729, allocations: 19.91 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.3732, allocations: 159.1 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.3732, allocations: 3.938 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3732, allocations: 3.938 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3732, allocations: 3.984 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.3739, allocations: 454.1 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3739, allocations: 0 / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.045e-05/0.374, allocations: 23.98 kB / 0.5678 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.374, allocations: 7.984 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.374, allocations: 0 / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.374, allocations: 4 kB / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.374, allocations: 0 / 0.5678 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.3744, allocations: 248.2 kB / 0.568 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.3744, allocations: 15.91 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.3744, allocations: 4 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.3745, allocations: 4 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3745, allocations: 15.97 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.3746, allocations: 4 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3747, allocations: 181.1 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3747, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003139/0.375, allocations: 27.98 kB / 0.5683 GB, free: 13.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.002203/0.3772, allocations: 1.121 MB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002804/0.3775, allocations: 95.88 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3775, allocations: 0 / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3776, allocations: 55.92 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.378, allocations: 22.61 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3803, allocations: 1.843 MB / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3807, allocations: 0.728 MB / 0.5721 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.3808, allocations: 24.47 kB / 0.5721 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.3808, allocations: 43.42 kB / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3808, allocations: 0 / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02778/0.4086, allocations: 3.627 MB / 0.5757 GB, free: 5.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.432, allocations: 5.438 kB / 0.5757 GB, free: 5.555 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.604935303330421] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.580021460074931 8.605943702 8.233314764 Calling exit ...