Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001688/0.001688, 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.002216/0.002216, 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2242/0.2242, 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test9",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.002337/0.002337, allocations: 83.84 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3102, allocations: 66.07 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003137/0.3133, allocations: 1.636 MB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3143, allocations: 0.5527 MB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.3144, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.315, allocations: 455.1 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004806/0.3154, allocations: 291.3 kB / 0.5644 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.3158, allocations: 131.1 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.316, allocations: 171.6 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.3161, allocations: 8 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3163, allocations: 111.8 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002821/0.3165, allocations: 251.5 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.3166, allocations: 0 / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-05/0.3166, allocations: 23.98 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3167, allocations: 88.61 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.567e-05/0.3168, allocations: 103 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.3171, allocations: 260.6 kB / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3171, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3171, allocations: 0 / 0.5655 GB, free: 268 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3171, allocations: 0 / 0.5655 GB, free: 268 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.0007754/0.3179, allocations: 0.5932 MB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.318, allocations: 12.03 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.318, allocations: 34.75 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3181, allocations: 44.66 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3183, allocations: 242.8 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3183, allocations: 4.375 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3183, allocations: 384 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3185, allocations: 58.23 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3185, allocations: 3.938 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3185, allocations: 4 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3185, allocations: 0 / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3186, allocations: 31.91 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.3191, allocations: 351.9 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3192, allocations: 46.5 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.3193, allocations: 20.94 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.3193, allocations: 0 / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3193, allocations: 30.56 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3193, allocations: 0 / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003322/0.3197, allocations: 129.3 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3197, allocations: 59.34 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.3206, allocations: 0.8699 MB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3206, allocations: 25.7 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3208, allocations: 220 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.3208, allocations: 3.953 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3209, allocations: 21.7 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.3211, allocations: 354.8 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.631e-05/0.3211, allocations: 23.98 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.379e-05/0.3212, allocations: 11.98 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.3213, allocations: 48.7 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3213, allocations: 0 / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001902/0.3215, allocations: 101.7 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3215, allocations: 4 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3215, allocations: 0 / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3215, allocations: 7.984 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.3216, allocations: 8.047 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3216, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.3217, allocations: 15.92 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3217, 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 (3): * Single equations (assignments): 3 * 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.000194/0.3219, allocations: 210.6 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.3219, allocations: 43.72 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.3222, allocations: 129.1 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3222, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3222, allocations: 4 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3222, allocations: 0 / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.3225, allocations: 264.6 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3225, allocations: 0 / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.3226, allocations: 8 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3226, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3226, allocations: 0 / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3226, allocations: 7.938 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3226, allocations: 4 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3228, allocations: 207.1 kB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.3229, allocations: 43.7 kB / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3229, allocations: 0 / 0.5696 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.323, allocations: 4 kB / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.323, allocations: 0 / 0.5696 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.323, allocations: 7.984 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000678/0.3237, allocations: 0.655 MB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000252/0.324, allocations: 19.94 kB / 0.5703 GB, free: 11.04 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 (3): * Single equations (assignments): 3 * 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.001726/0.3257, allocations: 0.9879 MB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3259, allocations: 39.95 kB / 0.5713 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3259, allocations: 4 kB / 0.5713 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.3259, allocations: 15.98 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3263, allocations: 29.67 kB / 0.5713 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.33, allocations: 3.194 MB / 0.5744 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.3305, allocations: 0.8182 MB / 0.5752 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.529e-05/0.3305, allocations: 19.73 kB / 0.5753 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3307, allocations: 111.4 kB / 0.5754 GB, free: 5.805 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3307, allocations: 0 / 0.5754 GB, free: 5.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.36, allocations: 5.824 MB / 0.5811 GB, free: 15.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.757/9.117, allocations: 4.359 kB / 0.5811 GB, free: 15.98 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9_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_CombiTable2Ds_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.096653422806412] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'clock1.y', 'clock2.y'] 9.2615203470923 9.277904309 8.957670985 Calling exit ...