Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001834/0.001834, 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.002211/0.002211, allocations: 211.8 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.44/1.44, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2251/0.2251, allocations: 46.93 MB / 361.6 MB, free: 4.211 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002282/0.002282, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 66.08 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003883/0.3615, allocations: 2.062 MB / 0.5635 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3636, allocations: 1.158 MB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3637, allocations: 4 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.3642, allocations: 263.1 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.3647, allocations: 270.9 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.3662, allocations: 0.6595 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005107/0.3667, allocations: 358.8 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.3669, allocations: 56.89 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3671, allocations: 151.4 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.3674, allocations: 239.1 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.3674, allocations: 12 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3676, allocations: 67.98 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3677, allocations: 107.5 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3679, allocations: 134.9 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.3683, allocations: 358.2 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3683, allocations: 4 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3683, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3684, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000865/0.3692, allocations: 0.6282 MB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3693, allocations: 15.97 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.3693, allocations: 46.73 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.3694, allocations: 44.66 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.3698, allocations: 284.6 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3698, allocations: 8.375 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.3698, allocations: 12.38 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.3701, allocations: 123 kB / 0.5684 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3701, allocations: 11.89 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3701, allocations: 4 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3701, allocations: 8 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3703, allocations: 91.86 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.3711, allocations: 499.4 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3713, allocations: 102.5 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.3714, allocations: 40.84 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3714, allocations: 4 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.3714, allocations: 34.55 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.3714, allocations: 0 / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001062/0.3725, allocations: 470.9 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3726, allocations: 51.41 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007058/0.3733, allocations: 0.6112 MB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3733, allocations: 25.7 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.3734, allocations: 212.4 kB / 0.5704 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.3735, allocations: 67.42 kB / 0.5705 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.3736, allocations: 37.66 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3737, allocations: 358.8 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3739, allocations: 63.95 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.374, allocations: 71.95 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3743, allocations: 151 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3743, allocations: 0 / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003985/0.3747, allocations: 245.1 kB / 0.5714 GB, free: 9.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3747, allocations: 4 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3747, allocations: 0 / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3747, allocations: 0 / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3749, allocations: 35.98 kB / 0.5714 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3749, allocations: 3.984 kB / 0.5714 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.375, allocations: 15.94 kB / 0.5715 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.375, allocations: 7.984 kB / 0.5715 GB, free: 9.922 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 (17): * Single equations (assignments): 17 * 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.0001798/0.3752, allocations: 181.7 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.3752, allocations: 51.61 kB / 0.5717 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.3758, allocations: 279.6 kB / 0.572 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.3758, allocations: 4 kB / 0.572 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3758, allocations: 0 / 0.572 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3758, allocations: 0 / 0.572 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.3767, allocations: 0.6574 MB / 0.5726 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3768, allocations: 8 kB / 0.5726 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3769, allocations: 39.91 kB / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3769, allocations: 0 / 0.5726 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3769, allocations: 8 kB / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3769, allocations: 0 / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3769, allocations: 0 / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.3773, allocations: 338 kB / 0.573 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.3774, allocations: 47.69 kB / 0.573 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.3774, allocations: 4 kB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3775, allocations: 12 kB / 0.573 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.3776, allocations: 23.84 kB / 0.5731 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3776, allocations: 4 kB / 0.5731 GB, free: 8.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000503/0.3781, allocations: 450.8 kB / 0.5735 GB, free: 7.762 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3781, allocations: 0 / 0.5735 GB, free: 7.762 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.3784, allocations: 51.94 kB / 0.5735 GB, free: 7.711 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 (17): * Single equations (assignments): 17 * 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.00337/0.3818, allocations: 1.457 MB / 0.575 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.3822, allocations: 159.8 kB / 0.5751 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3822, allocations: 0 / 0.5751 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3823, allocations: 87.88 kB / 0.5752 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/0.3829, allocations: 87.27 kB / 0.5753 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.3872, allocations: 3.339 MB / 0.5785 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.3877, allocations: 0.8338 MB / 0.5794 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.3878, allocations: 58.23 kB / 0.5794 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.388, allocations: 135.4 kB / 0.5795 GB, free: 1.719 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.388, allocations: 0 / 0.5795 GB, free: 1.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.4217, allocations: 8.022 MB / 0.5874 GB, free: 9.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.188, allocations: 9.891 kB / 0.5874 GB, free: 9.688 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.388223493937403] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.362121442332864 9.392831666 9.018513429 Calling exit ...