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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001704, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2446/0.2446, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB 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.002108/0.002108, allocations: 75.88 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4293, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01337/0.4427, allocations: 9.464 MB / 0.5398 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009413/0.4521, allocations: 3.803 MB / 0.5436 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.4545, allocations: 56.12 kB / 0.5436 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004892/0.4594, allocations: 2.278 MB / 0.5458 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005986/0.4654, allocations: 1.615 MB / 0.5474 GB, free: 344 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.4678, allocations: 0.6876 MB / 0.5481 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007646/0.4754, allocations: 3.798 MB / 0.5518 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004325/0.4798, allocations: 2.913 MB / 0.5546 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.4828, allocations: 1.273 MB / 0.5559 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003446/0.4862, allocations: 1.721 MB / 0.5576 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.4875, allocations: 284 kB / 0.5578 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.4909, allocations: 1.155 MB / 0.559 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.4934, allocations: 1.578 MB / 0.5605 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.4965, allocations: 1.891 MB / 0.5624 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.5071, allocations: 6.297 MB / 0.5685 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.5072, allocations: 0 / 0.5685 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5072, allocations: 0 / 0.5685 GB, free: 10.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002462/0.5075, allocations: 0 / 0.5685 GB, free: 10.77 MB / 430.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.01221/0.5197, allocations: 4.355 MB / 0.5728 GB, free: 6.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.5198, allocations: 8.031 kB / 0.5728 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001637/0.5214, allocations: 0.6121 MB / 0.5734 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/0.5439, allocations: 3.762 MB / 0.577 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006601/0.5506, allocations: 2.531 MB / 0.5795 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.5508, allocations: 189.3 kB / 0.5797 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008924/0.5517, allocations: 267.8 kB / 0.5799 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.5686, allocations: 8.522 MB / 0.5883 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.5688, allocations: 39.64 kB / 0.5883 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004655/0.5693, allocations: 123.9 kB / 0.5884 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003202/0.5725, allocations: 1.739 MB / 0.5901 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.5881, allocations: 7.436 MB / 0.5974 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.6371, allocations: 33.91 MB / 0.6305 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007191/0.6443, allocations: 3.027 MB / 0.6334 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002558/0.6469, allocations: 1.848 MB / 0.6353 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.6474, allocations: 331.8 kB / 0.6356 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.6475, allocations: 55.16 kB / 0.6356 GB, free: 4.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 4.618e-06/0.6475, allocations: 0 / 0.6356 GB, free: 4.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03784/0.6853, allocations: 14.55 MB / 0.6498 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.6855, allocations: 179.2 kB / 0.65 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.6911, allocations: 3.526 MB / 0.6534 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004223/0.6916, allocations: 45.7 kB / 0.6535 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002482/0.694, allocations: 2.773 MB / 0.6562 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.6951, allocations: 0.6319 MB / 0.6568 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001795/0.6969, allocations: 1.068 MB / 0.6579 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6971, allocations: 301.1 kB / 0.6581 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.7002, allocations: 2.017 MB / 0.6601 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006335/0.7065, allocations: 5.218 MB / 0.6652 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/0.717, allocations: 7.859 MB / 0.6729 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.557e-05/0.7172, allocations: 32 kB / 0.6729 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01598/0.7332, allocations: 7.805 MB / 0.6805 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.7333, allocations: 52 kB / 0.6806 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.7334, allocations: 116 kB / 0.6807 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/0.7361, allocations: 0.9693 MB / 0.6816 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/0.7401, allocations: 1.189 MB / 0.6828 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009922/0.75, allocations: 6.914 MB / 0.6896 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/0.7549, allocations: 307.5 kB / 0.6898 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009594/0.7559, allocations: 324 kB / 0.6902 GB, free: 8.617 MB / 0.545 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.003907/0.7598, allocations: 1.844 MB / 0.692 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007653/0.7606, allocations: 321.9 kB / 0.6923 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/0.7667, allocations: 3.194 MB / 0.6954 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.7668, allocations: 20.28 kB / 0.6954 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.7669, allocations: 12 kB / 0.6954 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.7669, allocations: 7.969 kB / 0.6954 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.7822, allocations: 7.811 MB / 0.7031 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.7823, allocations: 0 / 0.7031 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.7835, allocations: 227.6 kB / 0.7033 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.7858, allocations: 0.8085 MB / 0.7041 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.786, allocations: 28 kB / 0.7041 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009471/0.7955, allocations: 6.504 MB / 0.7104 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.7955, allocations: 4 kB / 0.7104 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009473/0.805, allocations: 5.836 MB / 0.7161 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.8062, allocations: 366.9 kB / 0.7165 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/0.8067, allocations: 31.94 kB / 0.7165 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.808, allocations: 99.8 kB / 0.7166 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.8083, allocations: 88.83 kB / 0.7167 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.8085, allocations: 40 kB / 0.7167 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00369/0.8122, allocations: 2.205 MB / 0.7189 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8122, allocations: 0 / 0.7189 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0048/0.817, allocations: 0.8709 MB / 0.7197 GB, free: 10.03 MB / 0.5762 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.01009/0.8271, allocations: 6.464 MB / 0.7261 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2889/1.116, allocations: 4.898 MB / 0.7308 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.116, allocations: 0.5312 kB / 0.7308 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002919/1.119, allocations: 1.781 MB / 0.7326 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/1.122, allocations: 384.3 kB / 0.7329 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05419/1.176, allocations: 40.83 MB / 0.7728 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003173/1.179, allocations: 2.885 MB / 0.7756 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003661/1.183, allocations: 1.717 MB / 0.7773 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.185, allocations: 1.554 MB / 0.7788 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.563e-06/1.185, allocations: 0 / 0.7788 GB, free: 141.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09779/1.283, allocations: 62.56 MB / 0.8399 GB, free: 79.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.19/22.47, allocations: 2.391 kB / 0.8399 GB, free: 79.58 MB / 0.5762 GB (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)