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.001449/0.001449, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.001743/0.001743, allocations: 214.2 kB / 23 MB, free: 5.578 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.582/1.582, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.2549/0.2549, allocations: 46.89 MB / 359.4 MB, free: 4.941 MB / 286.1 MB " [Timeout remaining time 179] 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.002439/0.002439, allocations: 83.86 kB / 0.4941 GB, free: 9.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3737, allocations: 65.98 MB / 0.5586 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01858/0.3923, allocations: 15.04 MB / 0.5733 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.4028, allocations: 4.464 MB / 0.5776 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003317/0.4061, allocations: 75.88 kB / 0.5777 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005446/0.4116, allocations: 2.262 MB / 0.5799 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006304/0.4179, allocations: 2.035 MB / 0.5819 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.4198, allocations: 0.6121 MB / 0.5825 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007563/0.4273, allocations: 4.31 MB / 0.5867 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004278/0.4316, allocations: 2.404 MB / 0.5891 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003843/0.4355, allocations: 1.6 MB / 0.5906 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004665/0.4401, allocations: 2.43 MB / 0.593 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001346/0.4415, allocations: 340 kB / 0.5933 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.4445, allocations: 1.069 MB / 0.5944 GB, free: 384 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002822/0.4473, allocations: 2.006 MB / 0.5963 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004502/0.4518, allocations: 2.38 MB / 0.5986 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.4643, allocations: 7.773 MB / 0.6062 GB, free: 4.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4643, allocations: 0 / 0.6062 GB, free: 4.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4643, allocations: 3.938 kB / 0.6062 GB, free: 4.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003188/0.4646, allocations: 0 / 0.6062 GB, free: 4.16 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.01424/0.4788, allocations: 5.22 MB / 0.6113 GB, free: 14.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.4789, allocations: 8.031 kB / 0.6113 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002174/0.4811, allocations: 0.8526 MB / 0.6122 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.4929, allocations: 3.226 MB / 0.6153 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/0.4996, allocations: 2.612 MB / 0.6179 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002839/0.4999, allocations: 254.4 kB / 0.6181 GB, free: 7.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/0.5014, allocations: 327.8 kB / 0.6184 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.5258, allocations: 12.24 MB / 0.6304 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.5259, allocations: 35.7 kB / 0.6304 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009825/0.5269, allocations: 159.8 kB / 0.6306 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005646/0.5326, allocations: 2.852 MB / 0.6334 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/0.5576, allocations: 11.12 MB / 0.6442 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06905/0.6266, allocations: 40.59 MB / 0.6839 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.6368, allocations: 4.51 MB / 0.6883 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/0.6408, allocations: 2.248 MB / 0.6905 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.6423, allocations: 1.319 MB / 0.6917 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.25e-05/0.6423, allocations: 52.56 kB / 0.6918 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=249): time 5.44e-06/0.6423, allocations: 0 / 0.6918 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.04956/0.6919, allocations: 18.76 MB / 0.7101 GB, free: 7.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.692, allocations: 77.41 kB / 0.7102 GB, free: 7.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005608/0.6976, allocations: 3.181 MB / 0.7133 GB, free: 4.141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.6982, allocations: 61.7 kB / 0.7134 GB, free: 4.074 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003102/0.7013, allocations: 3.237 MB / 0.7165 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/0.703, allocations: 1.019 MB / 0.7175 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.7051, allocations: 1.188 MB / 0.7187 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7053, allocations: 309.1 kB / 0.719 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/0.7093, allocations: 2.456 MB / 0.7214 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007547/0.7168, allocations: 5.715 MB / 0.7269 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2918/1.009, allocations: 8.977 MB / 0.7357 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-05/1.009, allocations: 31.38 kB / 0.7357 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01561/1.024, allocations: 8.996 MB / 0.7445 GB, free: 143 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/1.024, allocations: 56.22 kB / 0.7446 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.025, allocations: 113.7 kB / 0.7447 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002985/1.028, allocations: 1.053 MB / 0.7457 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004647/1.032, allocations: 1.34 MB / 0.747 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007221/1.039, allocations: 5.536 MB / 0.7524 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/1.044, allocations: 319.8 kB / 0.7527 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.045, allocations: 344.1 kB / 0.7531 GB, free: 139.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.00546/1.051, allocations: 2.408 MB / 0.7554 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007522/1.052, allocations: 332.3 kB / 0.7557 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008909/1.06, allocations: 5.358 MB / 0.761 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/1.061, allocations: 43.98 kB / 0.761 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.061, allocations: 4 kB / 0.761 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.089e-05/1.061, allocations: 9.938 kB / 0.761 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/1.081, allocations: 13.01 MB / 0.7737 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/1.081, allocations: 12 kB / 0.7737 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/1.083, allocations: 419.3 kB / 0.7741 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/1.085, allocations: 0.8951 MB / 0.775 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004663/1.086, allocations: 55.98 kB / 0.7751 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005116/1.091, allocations: 4.847 MB / 0.7798 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.091, allocations: 15.94 kB / 0.7798 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/1.101, allocations: 8.023 MB / 0.7876 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007545/1.102, allocations: 374.9 kB / 0.788 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/1.103, allocations: 59.42 kB / 0.7881 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.104, allocations: 147.8 kB / 0.7882 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/1.104, allocations: 169.5 kB / 0.7884 GB, free: 105.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.105, allocations: 79.98 kB / 0.7884 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002591/1.107, allocations: 1.961 MB / 0.7904 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.107, allocations: 4 kB / 0.7904 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00472/1.112, allocations: 1.059 MB / 0.7914 GB, free: 102.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.01045/1.122, allocations: 8.697 MB / 0.7999 GB, free: 93.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008273/1.131, allocations: 5.78 MB / 0.8055 GB, free: 87.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.131, allocations: 0 / 0.8055 GB, free: 87.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/1.134, allocations: 2.103 MB / 0.8076 GB, free: 85.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.136, allocations: 447.9 kB / 0.808 GB, free: 85.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06696/1.203, allocations: 47.15 MB / 0.8541 GB, free: 33.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/1.208, allocations: 3.712 MB / 0.8577 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004138/1.212, allocations: 2.151 MB / 0.8598 GB, free: 27.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/1.215, allocations: 2.1 MB / 0.8618 GB, free: 25.08 MB / 0.5606 GB Notification: Performance of SimCode: time 2.254e-06/1.215, allocations: 0 / 0.8618 GB, free: 25.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/1.349, allocations: 67.51 MB / 0.9278 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.05/27.4, allocations: 21.94 kB / 0.9278 GB, free: 5.805 MB / 0.6075 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.414130199002102] 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.522011250985088 27.544686853 27.075674798 Calling exit ...