Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001786/0.001786, allocations: 105.1 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.002124/0.002124, allocations: 213.9 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.429/1.429, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2261/0.2261, allocations: 46.92 MB / 361.6 MB, free: 4.207 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29",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.00233/0.00233, allocations: 79.86 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.343, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003054/0.3461, allocations: 1.666 MB / 0.5632 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3472, allocations: 0.5693 MB / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.3472, allocations: 0 / 0.5637 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3475, allocations: 35.75 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.3477, allocations: 83.62 kB / 0.5638 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.348, allocations: 123.6 kB / 0.564 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3482, allocations: 87.77 kB / 0.564 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3483, allocations: 23.98 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.579e-05/0.3484, allocations: 39.84 kB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3485, allocations: 35.84 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3485, allocations: 8 kB / 0.5641 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.3486, allocations: 47.97 kB / 0.5642 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.293e-05/0.3486, allocations: 19.92 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.3487, allocations: 39.73 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3489, allocations: 119.4 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3489, allocations: 0 / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3489, allocations: 0 / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.3489, allocations: 4 kB / 0.5644 GB, free: 1.402 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004709/0.3494, allocations: 333.7 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3494, allocations: 8.031 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.3494, allocations: 38.75 kB / 0.5647 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3495, allocations: 12.84 kB / 0.5647 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.3496, allocations: 146.3 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3497, allocations: 8.375 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3497, allocations: 4.375 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.3499, allocations: 78.22 kB / 0.565 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3499, allocations: 7.922 kB / 0.565 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3499, allocations: 4 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3499, allocations: 4 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.35, allocations: 39.97 kB / 0.565 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.3505, allocations: 303.8 kB / 0.5653 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3506, allocations: 62.56 kB / 0.5654 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.3507, allocations: 32.72 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3507, allocations: 4.141 kB / 0.5654 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3507, allocations: 46.48 kB / 0.5654 GB, free: 160 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3507, allocations: 0 / 0.5654 GB, free: 160 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001079/0.3518, allocations: 325.2 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3518, allocations: 59.16 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.352, allocations: 157.8 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.352, allocations: 29.7 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3521, allocations: 100.1 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.3521, allocations: 55.56 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.3522, allocations: 25.72 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3523, allocations: 322.8 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3524, allocations: 43.97 kB / 0.5665 GB, free: 15.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.3525, allocations: 44.09 kB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3527, allocations: 116.8 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3527, allocations: 0 / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002733/0.353, allocations: 153.5 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.353, allocations: 11.92 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.353, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3531, allocations: 0 / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3532, allocations: 35.92 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3532, allocations: 0 / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.3532, allocations: 4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3532, allocations: 4 kB / 0.5669 GB, free: 14.64 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.0001038/0.3533, allocations: 130.7 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.3534, allocations: 11.89 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3537, allocations: 181.5 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3537, allocations: 0 / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3537, allocations: 7.875 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3537, allocations: 3.984 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/0.3544, allocations: 462.2 kB / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3544, allocations: 0 / 0.5676 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.3545, allocations: 27.98 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3545, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.3545, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3545, allocations: 4 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3545, allocations: 0 / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.3548, allocations: 264.2 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.3549, allocations: 7.953 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3549, allocations: 4 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3549, allocations: 4 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.355, allocations: 11.98 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.355, allocations: 11.92 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.3551, allocations: 134.2 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3551, allocations: 3.938 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3554, allocations: 27.94 kB / 0.5681 GB, free: 13.29 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.002111/0.3575, allocations: 1.131 MB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3578, allocations: 111.8 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3578, allocations: 4 kB / 0.5693 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3579, allocations: 59.84 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3583, allocations: 24.08 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3604, allocations: 1.739 MB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.3607, allocations: 0.7125 MB / 0.5718 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.475e-05/0.3608, allocations: 24.47 kB / 0.5718 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.3609, allocations: 43.41 kB / 0.5719 GB, free: 9.461 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3609, allocations: 4 kB / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3874, allocations: 3.383 MB / 0.5752 GB, free: 6.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.564, allocations: 4.062 kB / 0.5752 GB, free: 6.074 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.489781073760241] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'clock.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.704956382047385 8.721071264 8.368764725 Calling exit ...