Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001595/0.001595, allocations: 108.5 kB / 19.8 MB, free: 2.5 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.002449/0.002449, allocations: 217.7 kB / 23 MB, free: 5.582 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.53/1.53, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.2648/0.2648, allocations: 46.89 MB / 359.4 MB, free: 4.898 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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23",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.002402/0.002402, allocations: 84.05 kB / 0.4942 GB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3631, allocations: 65.99 MB / 0.5586 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003199/0.3663, allocations: 1.605 MB / 0.5602 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.3684, allocations: 1.247 MB / 0.5614 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.3685, allocations: 4 kB / 0.5614 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3687, allocations: 27.84 kB / 0.5614 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.369, allocations: 75.62 kB / 0.5615 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3694, allocations: 119.2 kB / 0.5616 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3695, allocations: 71.81 kB / 0.5617 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.3696, allocations: 5.828 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.3697, allocations: 31.86 kB / 0.5617 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3698, allocations: 31.83 kB / 0.5617 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3699, allocations: 4 kB / 0.5617 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.37, allocations: 95.94 kB / 0.5618 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3701, allocations: 19.86 kB / 0.5618 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.3701, allocations: 23.81 kB / 0.5619 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.3704, allocations: 151.5 kB / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3704, allocations: 0 / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3704, allocations: 0 / 0.562 GB, free: 1.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3704, allocations: 0 / 0.562 GB, free: 1.621 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.0005979/0.371, allocations: 398.8 kB / 0.5624 GB, free: 1.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3711, allocations: 12.02 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3711, allocations: 34.69 kB / 0.5624 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3711, allocations: 8.891 kB / 0.5624 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3714, allocations: 204.1 kB / 0.5626 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.3714, allocations: 4.375 kB / 0.5626 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3714, allocations: 384 / 0.5626 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.3716, allocations: 63.97 kB / 0.5627 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3716, allocations: 7.922 kB / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3716, allocations: 0 / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3716, allocations: 0 / 0.5627 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.609e-05/0.3717, allocations: 19.98 kB / 0.5627 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.3722, allocations: 296.8 kB / 0.563 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3724, allocations: 42.56 kB / 0.5631 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.277e-05/0.3724, allocations: 12.94 kB / 0.5631 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3725, allocations: 4 kB / 0.5631 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3725, allocations: 34.56 kB / 0.5631 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.3725, allocations: 4 kB / 0.5631 GB, free: 324 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005941/0.3731, allocations: 145.6 kB / 0.5633 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.3732, allocations: 81.11 kB / 0.5633 GB, free: 72 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.3735, allocations: 148.3 kB / 0.5635 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3735, allocations: 29.7 kB / 0.5635 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.3735, allocations: 92.08 kB / 0.5636 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.3736, allocations: 19.86 kB / 0.5636 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3736, allocations: 25.64 kB / 0.5636 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3738, allocations: 322.8 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.3739, allocations: 23.97 kB / 0.564 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-05/0.374, allocations: 29.7 kB / 0.564 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3741, allocations: 56.86 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3741, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000209/0.3743, allocations: 89.86 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3744, allocations: 8 kB / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3744, allocations: 48 / 0.5641 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3744, allocations: 3.984 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.831e-05/0.3744, allocations: 15.92 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3745, allocations: 4 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.3745, allocations: 11.88 kB / 0.5642 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3745, allocations: 4 kB / 0.5642 GB, free: 15.16 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 0.0001119/0.3746, allocations: 121.8 kB / 0.5643 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3747, allocations: 7.953 kB / 0.5643 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.3749, allocations: 89.97 kB / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3749, allocations: 4 kB / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3749, allocations: 0 / 0.5644 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3749, allocations: 7.984 kB / 0.5644 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.3754, allocations: 358.4 kB / 0.5647 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3754, allocations: 3.984 kB / 0.5647 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.3755, allocations: 12 kB / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3755, allocations: 0 / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3755, allocations: 0 / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3755, allocations: 0 / 0.5648 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3755, allocations: 3.938 kB / 0.5648 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3758, allocations: 187.4 kB / 0.5649 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.3758, allocations: 89.05 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3758, allocations: 4 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.3759, allocations: 4.188 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3759, allocations: 7.922 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.376, allocations: 4 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3761, allocations: 117.9 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3761, allocations: 0 / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.3763, allocations: 39.86 kB / 0.5652 GB, free: 14.01 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.002345/0.3787, allocations: 1.109 MB / 0.5663 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.379, allocations: 51.97 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.379, allocations: 0 / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.379, allocations: 27.97 kB / 0.5663 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.3795, allocations: 23.75 kB / 0.5664 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3817, allocations: 1.455 MB / 0.5678 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3821, allocations: 0.6924 MB / 0.5685 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.146e-05/0.3822, allocations: 23.98 kB / 0.5685 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.3822, allocations: 27.42 kB / 0.5685 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3822, allocations: 0 / 0.5685 GB, free: 10.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.4107, allocations: 3.248 MB / 0.5717 GB, free: 7.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.482, allocations: 10.52 kB / 0.5717 GB, free: 7.371 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.407388538005762] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.610103590006474 8.633949907 8.259430119 Calling exit ...