Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.00193/0.00193, 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.002142/0.002142, allocations: 213.7 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.563/1.563, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2343/0.2343, allocations: 46.92 MB / 361.6 MB, free: 4.219 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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",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.002345/0.002345, allocations: 87.86 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.366, allocations: 66.07 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01151/0.3775, allocations: 9.53 MB / 0.5708 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007604/0.3851, allocations: 3.863 MB / 0.5746 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001597/0.3867, allocations: 63.69 kB / 0.5747 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004706/0.3914, allocations: 2.324 MB / 0.5769 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.3957, allocations: 1.646 MB / 0.5785 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3974, allocations: 0.694 MB / 0.5792 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00563/0.403, allocations: 3.806 MB / 0.5829 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.4061, allocations: 2.32 MB / 0.5852 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.4081, allocations: 1.312 MB / 0.5865 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.4108, allocations: 1.865 MB / 0.5883 GB, free: 8.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006099/0.4114, allocations: 280 kB / 0.5886 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.4136, allocations: 1.198 MB / 0.5897 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.4152, allocations: 1.62 MB / 0.5913 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002058/0.4173, allocations: 1.887 MB / 0.5932 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007085/0.4244, allocations: 6.312 MB / 0.5993 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4244, allocations: 0 / 0.5993 GB, free: 13.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4244, allocations: 0 / 0.5993 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001067/0.4245, allocations: 0 / 0.5993 GB, free: 13.43 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.008406/0.4329, allocations: 4.272 MB / 0.6035 GB, free: 9.102 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4329, allocations: 8.031 kB / 0.6035 GB, free: 9.094 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007946/0.4337, allocations: 0.6121 MB / 0.6041 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01929/0.453, allocations: 3.77 MB / 0.6078 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/0.4592, allocations: 2.466 MB / 0.6102 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.4594, allocations: 193.3 kB / 0.6104 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006462/0.46, allocations: 259.8 kB / 0.6106 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.4744, allocations: 8.518 MB / 0.6189 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.4745, allocations: 39.64 kB / 0.619 GB, free: 8.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/0.4748, allocations: 131.9 kB / 0.6191 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002958/0.4778, allocations: 1.739 MB / 0.6208 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.4924, allocations: 7.443 MB / 0.6281 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04352/0.5359, allocations: 33.81 MB / 0.6611 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006655/0.5425, allocations: 2.466 MB / 0.6635 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.5449, allocations: 1.708 MB / 0.6652 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002966/0.5452, allocations: 100.6 kB / 0.6653 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.5452, allocations: 43.22 kB / 0.6653 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.607e-06/0.5452, allocations: 0 / 0.6653 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03531/0.5805, allocations: 14.26 MB / 0.6792 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.5807, allocations: 179.1 kB / 0.6794 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/0.5856, allocations: 3.53 MB / 0.6828 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002934/0.5859, allocations: 49.7 kB / 0.6829 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.588, allocations: 2.761 MB / 0.6856 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007813/0.5888, allocations: 0.636 MB / 0.6862 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.5902, allocations: 1.068 MB / 0.6872 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5903, allocations: 309.1 kB / 0.6875 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/0.5934, allocations: 2.009 MB / 0.6895 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005647/0.599, allocations: 5.226 MB / 0.6946 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/0.6097, allocations: 7.85 MB / 0.7023 GB, free: 14.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.621e-05/0.6098, allocations: 32 kB / 0.7023 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01662/0.6264, allocations: 7.803 MB / 0.7099 GB, free: 6.992 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.6265, allocations: 52 kB / 0.71 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.6266, allocations: 115.9 kB / 0.7101 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.6293, allocations: 0.9736 MB / 0.711 GB, free: 5.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/0.6335, allocations: 1.181 MB / 0.7122 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6441, allocations: 6.801 MB / 0.7188 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.6484, allocations: 311.6 kB / 0.7191 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000944/0.6493, allocations: 320 kB / 0.7194 GB, free: 13.14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 626 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003661/0.653, allocations: 1.848 MB / 0.7212 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007794/0.6538, allocations: 313.9 kB / 0.7215 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00623/0.66, allocations: 3.186 MB / 0.7246 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/0.6601, allocations: 20 kB / 0.7247 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.6601, allocations: 4 kB / 0.7247 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.6601, allocations: 7.969 kB / 0.7247 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2986/0.9587, allocations: 7.779 MB / 0.7323 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.9587, allocations: 1 kB / 0.7323 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.9602, allocations: 224.7 kB / 0.7325 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002476/0.9626, allocations: 0.8129 MB / 0.7333 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002242/0.9629, allocations: 30.45 kB / 0.7333 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007252/0.9701, allocations: 6.379 MB / 0.7395 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9701, allocations: 2.406 kB / 0.7395 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/0.9774, allocations: 5.832 MB / 0.7452 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007965/0.9782, allocations: 295.1 kB / 0.7455 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004269/0.9787, allocations: 23.84 kB / 0.7455 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9798, allocations: 91.28 kB / 0.7456 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/0.9801, allocations: 95.64 kB / 0.7457 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9802, allocations: 42.38 kB / 0.7458 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003347/0.9836, allocations: 2.21 MB / 0.7479 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9836, allocations: 0 / 0.7479 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004565/0.9881, allocations: 0.8585 MB / 0.7488 GB, free: 146.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * 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,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007509/0.9956, allocations: 6.453 MB / 0.7551 GB, free: 142.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006125/1.002, allocations: 4.698 MB / 0.7596 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.002, allocations: 0 / 0.7596 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/1.004, allocations: 1.67 MB / 0.7613 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.006, allocations: 394.5 kB / 0.7617 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/1.054, allocations: 40.89 MB / 0.8016 GB, free: 91.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/1.056, allocations: 2.881 MB / 0.8044 GB, free: 88.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003148/1.059, allocations: 1.711 MB / 0.8061 GB, free: 86.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.061, allocations: 1.55 MB / 0.8076 GB, free: 85.22 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.061, allocations: 4 kB / 0.8076 GB, free: 85.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.164, allocations: 67.3 MB / 0.8733 GB, free: 18.22 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/21.87, allocations: 11.27 kB / 0.8733 GB, free: 18.21 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.97994046891108] Failed to read output from testmodel.py, exit status != 0: ['time', 'universal.phi_a', 'universal.phi_b', 'universal.w_a', 'universal.w_b'] 21.999888508114964 22.014474484 21.586821492 Calling exit ...