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.001673/0.001673, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001932/0.001932, allocations: 207.3 kB / 21.41 MB, free: 1.66 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.563/1.563, allocations: 227.4 MB / 251.7 MB, free: 268 kB / 190.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.254/0.254, allocations: 46.17 MB / 351.1 MB, free: 14.33 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.002357/0.002357, allocations: 87.25 kB / 489.7 MB, free: 28.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1417, allocations: 62.44 MB / 0.5392 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01807/0.1598, allocations: 14.95 MB / 0.5538 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1701, allocations: 4.423 MB / 0.5581 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.173, allocations: 83.81 kB / 0.5582 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005284/0.1784, allocations: 2.215 MB / 0.5603 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.1842, allocations: 1.988 MB / 0.5623 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.186, allocations: 0.6083 MB / 0.5629 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006927/0.1929, allocations: 4.309 MB / 0.5671 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004769/0.1977, allocations: 3.158 MB / 0.5702 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.2008, allocations: 1.557 MB / 0.5717 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003779/0.2046, allocations: 2.223 MB / 0.5739 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.2056, allocations: 343.9 kB / 0.5742 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.2082, allocations: 1.03 MB / 0.5752 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002424/0.2107, allocations: 1.967 MB / 0.5771 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003494/0.2142, allocations: 2.376 MB / 0.5794 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.225, allocations: 7.784 MB / 0.587 GB, free: 3.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.2251, allocations: 0 / 0.587 GB, free: 3.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2251, allocations: 0 / 0.587 GB, free: 3.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002911/0.2254, allocations: 0 / 0.587 GB, free: 3.547 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.01225/0.2377, allocations: 5.208 MB / 0.5921 GB, free: 14.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.2378, allocations: 12.03 kB / 0.5921 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001716/0.2395, allocations: 0.8526 MB / 0.593 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.2511, allocations: 3.234 MB / 0.5961 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006169/0.2574, allocations: 2.608 MB / 0.5987 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003502/0.2578, allocations: 250.3 kB / 0.5989 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/0.2592, allocations: 339.7 kB / 0.5992 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3364/0.5956, allocations: 12.22 MB / 0.6112 GB, free: 52.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001579/0.5958, allocations: 36.67 kB / 0.6112 GB, free: 52.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005698/0.5964, allocations: 151.2 kB / 0.6114 GB, free: 52.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006225/0.6026, allocations: 2.849 MB / 0.6141 GB, free: 51.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/0.6306, allocations: 11.12 MB / 0.625 GB, free: 48.47 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05019/0.6808, allocations: 40.59 MB / 0.6646 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.6886, allocations: 4.699 MB / 0.6692 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002521/0.6912, allocations: 2.435 MB / 0.6716 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.692, allocations: 1.315 MB / 0.6729 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.6921, allocations: 52.56 kB / 0.6729 GB, free: 4.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=249): time 4.008e-06/0.6921, allocations: 0 / 0.6729 GB, free: 4.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.04382/0.7359, allocations: 18.77 MB / 0.6913 GB, free: 1.992 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.445e-05/0.736, allocations: 73.41 kB / 0.6913 GB, free: 1.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/0.742, allocations: 3.18 MB / 0.6944 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007461/0.7428, allocations: 57.7 kB / 0.6945 GB, free: 14.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/0.7461, allocations: 3.245 MB / 0.6977 GB, free: 11.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001812/0.7479, allocations: 1.011 MB / 0.6987 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/0.7502, allocations: 1.195 MB / 0.6998 GB, free: 9.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7503, allocations: 301.1 kB / 0.7001 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00414/0.7544, allocations: 2.463 MB / 0.7025 GB, free: 6.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007549/0.762, allocations: 5.719 MB / 0.7081 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.7747, allocations: 8.969 MB / 0.7169 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.7749, allocations: 36 kB / 0.7169 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01778/0.7927, allocations: 8.999 MB / 0.7257 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.864e-05/0.7928, allocations: 57.88 kB / 0.7257 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/0.793, allocations: 112 kB / 0.7258 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/0.7963, allocations: 1.056 MB / 0.7269 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004942/0.8013, allocations: 1.341 MB / 0.7282 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/0.8099, allocations: 5.539 MB / 0.7336 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004905/0.8148, allocations: 323.8 kB / 0.7339 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001112/0.816, allocations: 344 kB / 0.7342 GB, free: 2.691 MB / 0.5137 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.004951/0.821, allocations: 2.401 MB / 0.7366 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/0.8217, allocations: 330 kB / 0.7369 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009863/0.8315, allocations: 5.379 MB / 0.7421 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.876e-05/0.8316, allocations: 47.98 kB / 0.7422 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.8317, allocations: 4 kB / 0.7422 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.8317, allocations: 11.95 kB / 0.7422 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02411/0.8558, allocations: 13.04 MB / 0.7549 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/0.8559, allocations: 16.25 kB / 0.755 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/0.8578, allocations: 419.3 kB / 0.7554 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/0.8607, allocations: 0.8863 MB / 0.7562 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.861, allocations: 59.98 kB / 0.7563 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007534/0.8685, allocations: 4.826 MB / 0.761 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.93e-05/0.8686, allocations: 22.98 kB / 0.761 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/0.8838, allocations: 8.038 MB / 0.7689 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.8848, allocations: 379 kB / 0.7692 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008605/0.8857, allocations: 55.92 kB / 0.7693 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.8877, allocations: 151.8 kB / 0.7694 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005818/0.8883, allocations: 165.5 kB / 0.7696 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002992/0.8887, allocations: 79.97 kB / 0.7697 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004222/0.8929, allocations: 1.957 MB / 0.7716 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8929, allocations: 0 / 0.7716 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006846/0.8998, allocations: 1.062 MB / 0.7726 GB, free: 10.7 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.01585/0.9156, allocations: 8.694 MB / 0.7811 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01067/0.9264, allocations: 6.042 MB / 0.787 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.9264, allocations: 4.938 kB / 0.787 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.9304, allocations: 2.25 MB / 0.7892 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/0.934, allocations: 457 kB / 0.7896 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08885/1.023, allocations: 47.04 MB / 0.8356 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007702/1.031, allocations: 3.704 MB / 0.8392 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.2783/1.309, allocations: 2.149 MB / 0.8413 GB, free: 213.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005966/1.315, allocations: 2.103 MB / 0.8433 GB, free: 213.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.352e-06/1.315, allocations: 0.875 kB / 0.8433 GB, free: 213.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.479, allocations: 66.67 MB / 0.9084 GB, free: 170.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.06/27.54, allocations: 5.484 kB / 0.9084 GB, free: 170.8 MB / 0.6231 GB " [Timeout remaining time 632] (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.927919167093933] 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.66629338497296 27.683672907 27.454892345 Calling exit ...