Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.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.00163/0.00163, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001388/0.001388, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2384/0.2384, allocations: 46.93 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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8",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.00228/0.00228, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3654, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003207/0.3686, allocations: 1.625 MB / 0.5631 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3697, allocations: 0.58 MB / 0.5637 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3697, allocations: 4 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.3703, allocations: 447.2 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.3708, allocations: 291.3 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.3713, allocations: 179 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3715, allocations: 171.6 kB / 0.5647 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3716, allocations: 8 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.3718, allocations: 111.8 kB / 0.5648 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.3721, allocations: 247.5 kB / 0.5651 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3721, allocations: 4 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.3722, allocations: 31.92 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3723, allocations: 84.61 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.187e-05/0.3724, allocations: 107 kB / 0.5653 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003248/0.3727, allocations: 252.6 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3727, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3727, allocations: 0 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3727, allocations: 0 / 0.5655 GB, free: 216 kB / 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.0008479/0.3735, allocations: 0.5856 MB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3736, allocations: 12.03 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3736, allocations: 38.69 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.526e-05/0.3737, allocations: 44.66 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.374, allocations: 246.8 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.374, allocations: 4.312 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3741, allocations: 384 / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3742, allocations: 54.23 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3742, allocations: 3.938 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3742, allocations: 4 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3742, allocations: 4 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.3743, allocations: 19.98 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.3749, allocations: 367.8 kB / 0.5669 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.375, allocations: 26.58 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.375, allocations: 24.91 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3751, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3751, allocations: 34.5 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.3751, allocations: 0 / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003012/0.3754, allocations: 113.3 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3754, allocations: 51.41 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009906/0.3764, allocations: 0.8738 MB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3765, allocations: 29.83 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3767, allocations: 228.1 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.3767, allocations: 7.891 kB / 0.5682 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3767, allocations: 13.72 kB / 0.5682 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3769, allocations: 366.7 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.377, allocations: 7.984 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.238e-05/0.377, allocations: 12 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.3771, allocations: 32.84 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3771, allocations: 4 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001539/0.3772, allocations: 93.39 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3773, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3773, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3773, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.3773, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3773, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3774, allocations: 8.016 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3774, allocations: 4 kB / 0.5687 GB, free: 12.71 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 (2): * Single equations (assignments): 2 * 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.0002113/0.3776, allocations: 214.6 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3777, allocations: 47.66 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.3779, allocations: 108.8 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3779, allocations: 3.938 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3779, allocations: 0 / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3779, allocations: 4.031 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3782, allocations: 264.6 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3782, allocations: 4 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.3783, allocations: 4 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3783, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3783, allocations: 0 / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3783, allocations: 4 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3783, allocations: 0 / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3785, allocations: 199.1 kB / 0.5695 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.027e-05/0.3786, allocations: 35.72 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.3786, allocations: 3.984 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.3787, allocations: 4 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.3787, allocations: 4 kB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.3787, allocations: 0 / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006907/0.3794, allocations: 0.6628 MB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3794, allocations: 3.938 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.3796, allocations: 12 kB / 0.5703 GB, free: 11.08 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 (2): * Single equations (assignments): 2 * 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.001668/0.3813, allocations: 0.9736 MB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.3815, allocations: 23.92 kB / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3815, allocations: 7.938 kB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.3815, allocations: 11.98 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3819, allocations: 18.31 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.386, allocations: 3.191 MB / 0.5744 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.3866, allocations: 0.8221 MB / 0.5752 GB, free: 6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.3867, allocations: 19.67 kB / 0.5752 GB, free: 5.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.3868, allocations: 111.4 kB / 0.5753 GB, free: 5.871 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3868, allocations: 0 / 0.5753 GB, free: 5.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/0.5092, allocations: 5.865 MB / 0.581 GB, free: 8 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.656/9.165, allocations: 4 kB / 0.581 GB, free: 4 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.344284919090569] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'const.y', 'clock.y'] 9.305829783901572 9.323749961 8.94798936 Calling exit ...