Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007149/0.0007149, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006948/0.0006948, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8099/0.8099, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5223/0.5223, allocations: 88.06 MB / 348.7 MB, free: 14.37 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.5231 GB, free: 3.996 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.109e-05, allocations: 3.828 kB / 0.5231 GB, free: 3.992 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2): time 0.007415/0.007436, allocations: 10.71 MB / 0.5335 GB, free: 9.234 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01272, allocations: 4.259 MB / 0.5377 GB, free: 4.961 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.01338, allocations: 99.44 kB / 0.5378 GB, free: 4.863 MB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.01598, allocations: 3.15 MB / 0.5409 GB, free: 1.703 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.01837, allocations: 2.22 MB / 0.543 GB, free: 15.47 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01946, allocations: 1.103 MB / 0.5441 GB, free: 14.37 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.004822/0.02428, allocations: 8.259 MB / 0.5522 GB, free: 6.094 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003114/0.02739, allocations: 4.408 MB / 0.5565 GB, free: 1.617 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.02962, allocations: 3.224 MB / 0.5596 GB, free: 14.39 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.03189, allocations: 3.352 MB / 0.5629 GB, free: 11.03 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003713/0.03226, allocations: 440 kB / 0.5633 GB, free: 10.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.03333, allocations: 1.26 MB / 0.5645 GB, free: 9.336 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.03462, allocations: 2.684 MB / 0.5672 GB, free: 6.645 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.03578, allocations: 1.858 MB / 0.569 GB, free: 4.781 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.00528/0.04106, allocations: 9.504 MB / 0.5783 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.04107, allocations: 0 / 0.5783 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.683e-06/0.04107, allocations: 4 kB / 0.5783 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.95e-05/0.04114, allocations: 0 / 0.5783 GB, free: 11.25 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1559 * Number of variables: 1559 Notification: Performance of Generate backend data structure: time 0.008673/0.04981, allocations: 7.206 MB / 0.5853 GB, free: 3.969 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.04985, allocations: 12.03 kB / 0.5853 GB, free: 3.957 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006052/0.05045, allocations: 0.7638 MB / 0.5861 GB, free: 3.184 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1134/0.1638, allocations: 29.53 MB / 0.6149 GB, free: 5.602 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008409/0.1722, allocations: 5.041 MB / 0.6198 GB, free: 480 kB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.1724, allocations: 259.1 kB / 0.6201 GB, free: 220 kB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.1735, allocations: 368.1 kB / 0.6204 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.1878, allocations: 11.46 MB / 0.6316 GB, free: 3.645 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/0.188, allocations: 63.58 kB / 0.6317 GB, free: 3.582 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/0.1884, allocations: 167.9 kB / 0.6318 GB, free: 3.418 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/0.1903, allocations: 2.018 MB / 0.6338 GB, free: 1.398 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4216/0.6119, allocations: 9.817 MB / 0.6434 GB, free: 99.6 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.6451, allocations: 40.33 MB / 0.6828 GB, free: 66.06 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/0.6507, allocations: 4.115 MB / 0.6868 GB, free: 61.92 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/0.653, allocations: 2.586 MB / 0.6893 GB, free: 59.32 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009039/0.6621, allocations: 9.534 MB / 0.6986 GB, free: 49.92 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.6621, allocations: 55.81 kB / 0.6987 GB, free: 49.86 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=186): time 6.182e-06/0.6621, allocations: 3.812 kB / 0.6987 GB, free: 49.86 MB / 0.5419 GB Notification: Performance of matching and sorting (n=218): time 0.03592/0.698, allocations: 26.89 MB / 0.725 GB, free: 23.25 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.6981, allocations: 308 kB / 0.7252 GB, free: 22.88 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005254/0.7034, allocations: 5.612 MB / 0.7307 GB, free: 17.4 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005432/0.7039, allocations: 61.69 kB / 0.7308 GB, free: 17.33 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.7051, allocations: 3.442 MB / 0.7341 GB, free: 13.91 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008731/0.706, allocations: 0.8459 MB / 0.735 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009927/0.7069, allocations: 1.195 MB / 0.7361 GB, free: 11.88 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 2.601e-05/0.707, allocations: 309.1 kB / 0.7364 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.7093, allocations: 2.693 MB / 0.7391 GB, free: 8.871 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/0.7127, allocations: 6.307 MB / 0.7452 GB, free: 0.8242 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.721, allocations: 9.526 MB / 0.7545 GB, free: 5.625 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.09e-05/0.7211, allocations: 36 kB / 0.7546 GB, free: 5.59 MB / 0.5575 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01516/0.7362, allocations: 10.35 MB / 0.7647 GB, free: 11.23 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.7363, allocations: 56 kB / 0.7647 GB, free: 11.17 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.443e-05/0.7364, allocations: 120 kB / 0.7648 GB, free: 11.05 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.7392, allocations: 1.905 MB / 0.7667 GB, free: 9.145 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.7426, allocations: 1.446 MB / 0.7681 GB, free: 7.695 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.7539, allocations: 12.22 MB / 0.78 GB, free: 11.35 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/0.7585, allocations: 0.5695 MB / 0.7806 GB, free: 10.78 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008647/0.7594, allocations: 352 kB / 0.7809 GB, free: 10.44 MB / 0.5888 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 41 (force.arrow.twoHeadedArrow,force.arrow.headAtOrigin,force.color[3],force.color[2],force.color[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (702): * Single equations (assignments): 698 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003877/0.7633, allocations: 2.571 MB / 0.7834 GB, free: 7.852 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000921/0.7642, allocations: 437.1 kB / 0.7839 GB, free: 7.422 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006281/0.7705, allocations: 5.602 MB / 0.7893 GB, free: 1.801 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001468/0.7706, allocations: 24.06 kB / 0.7894 GB, free: 1.777 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-05/0.7706, allocations: 12 kB / 0.7894 GB, free: 1.766 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.538e-05/0.7707, allocations: 11.95 kB / 0.7894 GB, free: 1.754 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.7864, allocations: 11.84 MB / 0.8009 GB, free: 5.859 MB / 0.6044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.7864, allocations: 4 kB / 0.8009 GB, free: 5.855 MB / 0.6044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.7874, allocations: 399.6 kB / 0.8013 GB, free: 5.465 MB / 0.6044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.7898, allocations: 1.743 MB / 0.803 GB, free: 3.719 MB / 0.6044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.79, allocations: 42.19 kB / 0.8031 GB, free: 3.68 MB / 0.6044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.8009, allocations: 11.73 MB / 0.8145 GB, free: 7.828 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8009, allocations: 7.938 kB / 0.8145 GB, free: 7.82 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009285/0.8101, allocations: 8.993 MB / 0.8233 GB, free: 14.77 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.8115, allocations: 0.5126 MB / 0.8238 GB, free: 14.26 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007786/0.8123, allocations: 36 kB / 0.8239 GB, free: 14.22 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.8143, allocations: 355.3 kB / 0.8242 GB, free: 13.88 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.8146, allocations: 141.2 kB / 0.8243 GB, free: 13.74 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.8147, allocations: 63.73 kB / 0.8244 GB, free: 13.68 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.00433/0.8191, allocations: 3.561 MB / 0.8279 GB, free: 10.12 MB / 0.6356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8191, allocations: 0 / 0.8279 GB, free: 10.12 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.004895/0.824, allocations: 1.441 MB / 0.8293 GB, free: 8.68 MB / 0.6356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * 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 (159): * Single equations (assignments): 155 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,36,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/0.834, allocations: 9.676 MB / 0.8387 GB, free: 14.95 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.008011/0.842, allocations: 6.249 MB / 0.8448 GB, free: 8.707 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.842, allocations: 4 kB / 0.8448 GB, free: 8.703 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.8449, allocations: 2.391 MB / 0.8472 GB, free: 6.301 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.8479, allocations: 0.6873 MB / 0.8478 GB, free: 5.625 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4596/1.307, allocations: 58.48 MB / 0.9049 GB, free: 240.5 MB / 0.6984 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/1.311, allocations: 3.366 MB / 0.9082 GB, free: 240.2 MB / 0.6984 GB Notification: Performance of simCode: alias equations: time 0.003085/1.314, allocations: 2.217 MB / 0.9104 GB, free: 240.1 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002741/1.317, allocations: 2.253 MB / 0.9126 GB, free: 239.1 MB / 0.6984 GB Notification: Performance of SimCode: time 1.743e-06/1.317, allocations: 0 / 0.9126 GB, free: 239.1 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/1.399, allocations: 101.9 MB / 1.012 GB, free: 148.2 MB / 0.6984 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.231/10.63, allocations: 4.062 kB / 1.012 GB, free: 148.2 MB / 0.6984 GB " [Timeout remaining time 289] (rm -f ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2_res.csv --start-time 0 --stop-time 0.04 --timeout 300 --relative-tolerance 3e-08 --interface-type ModelExchange --solver CVode --output-interval 2.001e-05 ScalableTestSuite_ScalableTestSuite_Mechanical_FlexibleBeam_ScaledExperiments_FlexibleBeamModelica_N_2.fmu > ScalableTestSuite_ScalableTestSuite.Mechanical.FlexibleBeam.ScaledExperiments.FlexibleBeamModelica_N_2.pipe 2>&1) [Timeout 315.0] [Calling os._exit(0), Time elapsed: 13.156977314502] Failed to read output from testmodel.py, exit status != 0: 10.750596025958657 10.756109032 10.713816192 Calling exit ...