Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.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.00157/0.00157, 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.002283/0.002283, 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2413/0.2413, allocations: 46.93 MB / 361.6 MB, free: 4.227 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.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar",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.00232/0.00232, allocations: 75.88 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.327, allocations: 66.08 MB / 0.5615 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01857/0.3456, allocations: 15.05 MB / 0.5762 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.3572, allocations: 4.472 MB / 0.5806 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002654/0.3598, allocations: 87.69 kB / 0.5807 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005139/0.365, allocations: 2.262 MB / 0.5829 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.3706, allocations: 2.051 MB / 0.5849 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.3724, allocations: 0.6082 MB / 0.5855 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.3793, allocations: 4.311 MB / 0.5897 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004281/0.3836, allocations: 2.68 MB / 0.5923 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.3867, allocations: 1.62 MB / 0.5939 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.3908, allocations: 2.426 MB / 0.5962 GB, free: 500 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.392, allocations: 340 kB / 0.5966 GB, free: 160 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.3949, allocations: 1.08 MB / 0.5976 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002853/0.3978, allocations: 2.006 MB / 0.5996 GB, free: 13.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003855/0.4016, allocations: 2.38 MB / 0.6019 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4134, allocations: 7.769 MB / 0.6095 GB, free: 2.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4134, allocations: 0 / 0.6095 GB, free: 2.867 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4134, allocations: 0 / 0.6095 GB, free: 2.867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002268/0.4136, allocations: 7.938 kB / 0.6095 GB, free: 2.859 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01125/0.4249, allocations: 5.145 MB / 0.6145 GB, free: 13.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4249, allocations: 12.03 kB / 0.6145 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001814/0.4267, allocations: 0.8487 MB / 0.6154 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.4379, allocations: 3.23 MB / 0.6185 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007071/0.4449, allocations: 2.54 MB / 0.621 GB, free: 6.961 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000317/0.4452, allocations: 254.4 kB / 0.6212 GB, free: 6.711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.4468, allocations: 327.8 kB / 0.6216 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/0.4714, allocations: 12.23 MB / 0.6335 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.4716, allocations: 39.69 kB / 0.6335 GB, free: 9.594 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.4728, allocations: 159.8 kB / 0.6337 GB, free: 9.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005068/0.4779, allocations: 2.848 MB / 0.6365 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/0.5013, allocations: 11.13 MB / 0.6473 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06837/0.5697, allocations: 40.42 MB / 0.6868 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009968/0.5797, allocations: 3.59 MB / 0.6903 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/0.5835, allocations: 2.252 MB / 0.6925 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.5845, allocations: 461.2 kB / 0.693 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.5846, allocations: 52.5 kB / 0.693 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.5e-06/0.5846, allocations: 0 / 0.693 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.05282/0.6374, allocations: 18.46 MB / 0.711 GB, free: 9.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.6375, allocations: 73.41 kB / 0.7111 GB, free: 8.965 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00711/0.6446, allocations: 3.181 MB / 0.7142 GB, free: 5.773 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005522/0.6451, allocations: 61.7 kB / 0.7143 GB, free: 5.707 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003247/0.6484, allocations: 3.245 MB / 0.7174 GB, free: 2.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001698/0.6501, allocations: 1.011 MB / 0.7184 GB, free: 1.418 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003066/0.6531, allocations: 1.195 MB / 0.7196 GB, free: 216 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6533, allocations: 305.1 kB / 0.7199 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/0.6579, allocations: 2.456 MB / 0.7223 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007818/0.6657, allocations: 5.719 MB / 0.7279 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3167/0.9824, allocations: 8.965 MB / 0.7366 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/0.9826, allocations: 32.47 kB / 0.7367 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.0165/0.9991, allocations: 8.992 MB / 0.7454 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.9992, allocations: 54.81 kB / 0.7455 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.9994, allocations: 115.7 kB / 0.7456 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.002, allocations: 1.049 MB / 0.7466 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004128/1.006, allocations: 1.342 MB / 0.7479 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/1.012, allocations: 5.443 MB / 0.7532 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.016, allocations: 324.3 kB / 0.7536 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007349/1.017, allocations: 337.5 kB / 0.7539 GB, free: 140.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 718 * Array equations: 6 * 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,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004037/1.021, allocations: 2.407 MB / 0.7562 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005536/1.022, allocations: 338.8 kB / 0.7566 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/1.029, allocations: 5.348 MB / 0.7618 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.273e-05/1.029, allocations: 51.98 kB / 0.7618 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/1.029, allocations: 4 kB / 0.7618 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.029, allocations: 7.969 kB / 0.7618 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.048, allocations: 12.99 MB / 0.7745 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-05/1.048, allocations: 12 kB / 0.7745 GB, free: 122 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.049, allocations: 423.4 kB / 0.7749 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/1.052, allocations: 0.8907 MB / 0.7758 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003328/1.052, allocations: 59.98 kB / 0.7759 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004821/1.057, allocations: 4.732 MB / 0.7805 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.057, allocations: 15.94 kB / 0.7805 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00982/1.067, allocations: 8.028 MB / 0.7883 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/1.067, allocations: 305.8 kB / 0.7886 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005847/1.068, allocations: 50.16 kB / 0.7887 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.069, allocations: 159.1 kB / 0.7888 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/1.07, allocations: 169.4 kB / 0.789 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/1.07, allocations: 75.98 kB / 0.7891 GB, free: 107 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002707/1.073, allocations: 1.965 MB / 0.791 GB, free: 105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.41e-07/1.073, allocations: 0 / 0.791 GB, free: 105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005673/1.078, allocations: 1.059 MB / 0.792 GB, free: 104 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (208): * Single equations (assignments): 201 * Array equations: 6 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01041/1.089, allocations: 8.689 MB / 0.8005 GB, free: 95.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008006/1.097, allocations: 5.776 MB / 0.8061 GB, free: 89.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.097, allocations: 4 kB / 0.8061 GB, free: 89.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002702/1.1, allocations: 2.097 MB / 0.8082 GB, free: 87.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/1.102, allocations: 468.7 kB / 0.8086 GB, free: 86.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05816/1.16, allocations: 47.16 MB / 0.8547 GB, free: 34.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004146/1.164, allocations: 3.706 MB / 0.8583 GB, free: 30.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004715/1.169, allocations: 2.157 MB / 0.8604 GB, free: 28.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003131/1.172, allocations: 2.104 MB / 0.8625 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.172, allocations: 0 / 0.8625 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.305, allocations: 72.05 MB / 0.9328 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.86/27.16, allocations: 0 / 0.9328 GB, free: 2.566 MB / 0.6075 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 30.304193403106183] Failed to read output from testmodel.py, exit status != 0: ['time', 'planar.phi', 'planar.s_x', 'planar.s_y', 'planar.v_x', 'planar.v_y', 'planar.w'] 27.29221186088398 27.30805901 26.89105591 Calling exit ...