Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001691/0.001691, allocations: 110.3 kB / 20.22 MB, free: 1.812 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.001987/0.001987, allocations: 218.5 kB / 23.48 MB, free: 5.254 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.505/1.505, allocations: 230.2 MB / 256.8 MB, free: 8.578 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.25/0.25, allocations: 46.89 MB / 360 MB, free: 4.734 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_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.002255/0.002255, allocations: 79.88 kB / 0.4951 GB, free: 8.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3494, allocations: 66 MB / 0.5596 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00312/0.3526, allocations: 1.664 MB / 0.5612 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3537, allocations: 0.5693 MB / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.3537, allocations: 0 / 0.5617 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.354, allocations: 103.7 kB / 0.5618 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.3543, allocations: 107.6 kB / 0.5619 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3546, allocations: 115.4 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.3548, allocations: 111.8 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3549, allocations: 21.81 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.355, allocations: 43.77 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3552, allocations: 67.8 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.3552, allocations: 8 kB / 0.5623 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3553, allocations: 43.98 kB / 0.5623 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.235e-05/0.3554, allocations: 31.86 kB / 0.5624 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.3554, allocations: 47.66 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.3557, allocations: 127.4 kB / 0.5625 GB, free: 1.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3557, allocations: 7.875 kB / 0.5625 GB, free: 1.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3557, allocations: 4 kB / 0.5625 GB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3557, allocations: 4 kB / 0.5625 GB, free: 1.926 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.0006544/0.3564, allocations: 438.5 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3564, allocations: 12.03 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.3564, allocations: 30.75 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3565, allocations: 20.84 kB / 0.563 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.3567, allocations: 212.1 kB / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3567, allocations: 384 / 0.5632 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3568, allocations: 8.375 kB / 0.5632 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.357, allocations: 82.16 kB / 0.5633 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.357, allocations: 7.891 kB / 0.5633 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.357, allocations: 0 / 0.5633 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.357, allocations: 0 / 0.5633 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3572, allocations: 43.97 kB / 0.5634 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.3577, allocations: 340.7 kB / 0.5637 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3579, allocations: 66.55 kB / 0.5638 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.3579, allocations: 28.84 kB / 0.5638 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.3579, allocations: 0 / 0.5638 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.358, allocations: 34.56 kB / 0.5638 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.358, allocations: 3.984 kB / 0.5638 GB, free: 460 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00115/0.3591, allocations: 341.2 kB / 0.5641 GB, free: 112 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.3592, allocations: 59.33 kB / 0.5642 GB, free: 40 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3595, allocations: 240.3 kB / 0.5644 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3595, allocations: 25.7 kB / 0.5645 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.3596, allocations: 116.1 kB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.3596, allocations: 51.56 kB / 0.5646 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.3597, allocations: 29.72 kB / 0.5646 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3599, allocations: 326.8 kB / 0.565 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.36, allocations: 43.97 kB / 0.565 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.3601, allocations: 47.97 kB / 0.565 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3603, allocations: 112.1 kB / 0.5651 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3603, allocations: 4 kB / 0.5652 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002897/0.3606, allocations: 157.5 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3606, allocations: 4 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.3606, allocations: 4 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3606, allocations: 0 / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.3608, allocations: 27.92 kB / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3608, allocations: 0 / 0.5653 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.3608, allocations: 7.984 kB / 0.5653 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3609, allocations: 4 kB / 0.5653 GB, free: 14.82 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.0001566/0.361, allocations: 141.8 kB / 0.5655 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3611, allocations: 19.84 kB / 0.5655 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003852/0.3614, allocations: 183.8 kB / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3614, allocations: 3.938 kB / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3614, allocations: 3.984 kB / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3615, allocations: 0 / 0.5657 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.3621, allocations: 0.4991 MB / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3622, allocations: 0 / 0.5662 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.3622, allocations: 27.92 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3622, allocations: 0 / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3623, allocations: 8 kB / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3623, allocations: 0 / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3623, allocations: 0 / 0.5662 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3626, allocations: 268.2 kB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3627, allocations: 89.02 kB / 0.5665 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3627, allocations: 0 / 0.5665 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3628, allocations: 4 kB / 0.5665 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.3628, allocations: 11.98 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3628, allocations: 12 kB / 0.5666 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001721/0.363, allocations: 185.2 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.363, allocations: 0 / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3633, allocations: 27.94 kB / 0.5668 GB, free: 13.24 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.002465/0.3657, allocations: 1.136 MB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003211/0.366, allocations: 111.9 kB / 0.568 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.366, allocations: 0 / 0.568 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3662, allocations: 59.89 kB / 0.568 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.3666, allocations: 23.91 kB / 0.5681 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.3689, allocations: 1.928 MB / 0.57 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3694, allocations: 0.7197 MB / 0.5707 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.504e-05/0.3694, allocations: 24.53 kB / 0.5707 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.3695, allocations: 51.42 kB / 0.5707 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3695, allocations: 0 / 0.5707 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.3955, allocations: 3.626 MB / 0.5743 GB, free: 5.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.522, allocations: 7.562 kB / 0.5743 GB, free: 5.602 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4_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_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.63129307096824] 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.647977087995969 8.677024554 8.31606938 Calling exit ...