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.001216/0.001216, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001342/0.001342, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.295/1.295, allocations: 230.2 MB / 256.2 MB, free: 8.586 MB / 206.1 MB " [Timeout remaining time 179] 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.2033/0.2033, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.002229/0.002229, allocations: 91.84 kB / 0.494 GB, free: 9.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2576, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01037/0.268, allocations: 9.53 MB / 0.5677 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.2744, allocations: 3.855 MB / 0.5715 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007168/0.2751, allocations: 55.81 kB / 0.5715 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.279, allocations: 2.321 MB / 0.5738 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.2821, allocations: 1.642 MB / 0.5754 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2834, allocations: 0.6979 MB / 0.5761 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004406/0.2878, allocations: 3.802 MB / 0.5798 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.2902, allocations: 2.125 MB / 0.5819 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.2917, allocations: 1.293 MB / 0.5831 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.2939, allocations: 1.861 MB / 0.585 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.2943, allocations: 284 kB / 0.5852 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.2962, allocations: 1.19 MB / 0.5864 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.2976, allocations: 1.628 MB / 0.588 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001716/0.2993, allocations: 1.887 MB / 0.5898 GB, free: 4.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00615/0.3054, allocations: 6.304 MB / 0.596 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3054, allocations: 0 / 0.596 GB, free: 14.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3054, allocations: 3.938 kB / 0.596 GB, free: 14.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.012e-05/0.3055, allocations: 4 kB / 0.596 GB, free: 14.55 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.007184/0.3127, allocations: 4.35 MB / 0.6002 GB, free: 10.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3127, allocations: 12.03 kB / 0.6002 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006795/0.3134, allocations: 0.6082 MB / 0.6008 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/0.334, allocations: 3.766 MB / 0.6045 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004642/0.3386, allocations: 2.527 MB / 0.607 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3387, allocations: 193.3 kB / 0.6072 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004789/0.3392, allocations: 263.8 kB / 0.6074 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.3514, allocations: 8.526 MB / 0.6157 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.688e-05/0.3514, allocations: 39.64 kB / 0.6158 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000333/0.3518, allocations: 123.9 kB / 0.6159 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/0.3547, allocations: 1.739 MB / 0.6176 GB, free: 7.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01261/0.3673, allocations: 7.44 MB / 0.6249 GB, free: 196 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03646/0.4037, allocations: 33.9 MB / 0.658 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006342/0.4101, allocations: 2.917 MB / 0.6608 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.4121, allocations: 1.684 MB / 0.6625 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/0.4125, allocations: 335.8 kB / 0.6628 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4125, allocations: 51.22 kB / 0.6628 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.266e-06/0.4125, allocations: 0 / 0.6628 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03388/0.4464, allocations: 14.54 MB / 0.677 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4465, allocations: 179.2 kB / 0.6772 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004505/0.451, allocations: 3.526 MB / 0.6807 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.4512, allocations: 45.89 kB / 0.6807 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.4532, allocations: 2.769 MB / 0.6834 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006198/0.4538, allocations: 0.6319 MB / 0.684 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.4551, allocations: 1.072 MB / 0.6851 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4552, allocations: 305.1 kB / 0.6854 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.458, allocations: 2.017 MB / 0.6873 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/0.4631, allocations: 5.214 MB / 0.6924 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008649/0.4718, allocations: 7.858 MB / 0.7001 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.355e-05/0.4718, allocations: 32 kB / 0.7001 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01176/0.4836, allocations: 7.797 MB / 0.7077 GB, free: 6.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.4837, allocations: 56 kB / 0.7078 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.4838, allocations: 112 kB / 0.7079 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.486, allocations: 0.9694 MB / 0.7088 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00331/0.4893, allocations: 1.189 MB / 0.71 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/0.4979, allocations: 6.914 MB / 0.7168 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.5011, allocations: 299.5 kB / 0.717 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000441/0.5015, allocations: 320 kB / 0.7173 GB, free: 12.7 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.002517/0.504, allocations: 1.844 MB / 0.7191 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.5045, allocations: 318 kB / 0.7194 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/0.51, allocations: 3.182 MB / 0.7226 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.5101, allocations: 27.98 kB / 0.7226 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.5101, allocations: 7.984 kB / 0.7226 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5101, allocations: 3.984 kB / 0.7226 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2252/0.7353, allocations: 7.8 MB / 0.7302 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.7353, allocations: 1.125 kB / 0.7302 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.7366, allocations: 229.3 kB / 0.7304 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.7388, allocations: 0.8042 MB / 0.7312 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001841/0.739, allocations: 28.78 kB / 0.7312 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006373/0.7454, allocations: 6.504 MB / 0.7376 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7454, allocations: 0 / 0.7376 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/0.7516, allocations: 5.828 MB / 0.7433 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.7521, allocations: 376.2 kB / 0.7436 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.7524, allocations: 23.66 kB / 0.7437 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7535, allocations: 91.72 kB / 0.7438 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.7537, allocations: 96.45 kB / 0.7438 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.752e-05/0.7538, allocations: 40.66 kB / 0.7439 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002275/0.7561, allocations: 2.205 MB / 0.746 GB, free: 147 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7561, allocations: 0 / 0.746 GB, free: 147 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003027/0.7591, allocations: 0.8576 MB / 0.7469 GB, free: 146.9 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.006209/0.7653, allocations: 6.465 MB / 0.7532 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004953/0.7703, allocations: 4.702 MB / 0.7578 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7703, allocations: 0 / 0.7578 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7724, allocations: 1.658 MB / 0.7594 GB, free: 137.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.7742, allocations: 398.2 kB / 0.7598 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03715/0.8114, allocations: 40.88 MB / 0.7997 GB, free: 91.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.8134, allocations: 2.885 MB / 0.8025 GB, free: 88.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002739/0.8161, allocations: 1.711 MB / 0.8042 GB, free: 86.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.8177, allocations: 1.55 MB / 0.8057 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.42e-07/0.8177, allocations: 0 / 0.8057 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08716/0.9048, allocations: 63.39 MB / 0.8676 GB, free: 22.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/18.97, allocations: 7.938 kB / 0.8676 GB, free: 22.23 MB / 0.5606 GB " [Timeout remaining time 641] (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 --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: 21.521086997992825]