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.00131/0.00131, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.46 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.2311/0.2311, allocations: 46.12 MB / 344.4 MB, free: 11.49 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.002244/0.002244, allocations: 75.88 kB / 480.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3664, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01119/0.3776, allocations: 9.469 MB / 0.5399 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008134/0.3858, allocations: 3.804 MB / 0.5436 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3875, allocations: 53.19 kB / 0.5436 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004777/0.3923, allocations: 2.28 MB / 0.5458 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005107/0.3974, allocations: 1.619 MB / 0.5474 GB, free: 364 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.3994, allocations: 0.6881 MB / 0.5481 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006511/0.4059, allocations: 3.798 MB / 0.5518 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.4098, allocations: 2.897 MB / 0.5546 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.4121, allocations: 1.285 MB / 0.5559 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.4146, allocations: 1.721 MB / 0.5576 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000648/0.4152, allocations: 283.9 kB / 0.5578 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.4183, allocations: 1.151 MB / 0.559 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002397/0.4207, allocations: 1.582 MB / 0.5605 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.4239, allocations: 1.88 MB / 0.5623 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.4353, allocations: 6.301 MB / 0.5685 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4354, allocations: 0 / 0.5685 GB, free: 10.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4354, allocations: 0 / 0.5685 GB, free: 10.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001688/0.4355, allocations: 4 kB / 0.5685 GB, free: 10.8 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.01217/0.4477, allocations: 4.355 MB / 0.5728 GB, free: 6.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4478, allocations: 8.031 kB / 0.5728 GB, free: 6.363 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001116/0.4489, allocations: 0.6082 MB / 0.5734 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.4711, allocations: 3.762 MB / 0.577 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006082/0.4772, allocations: 2.531 MB / 0.5795 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.4774, allocations: 193.3 kB / 0.5797 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007074/0.4781, allocations: 271.7 kB / 0.5799 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.4927, allocations: 8.522 MB / 0.5883 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.4929, allocations: 43.69 kB / 0.5883 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.4932, allocations: 115.9 kB / 0.5884 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003324/0.4966, allocations: 1.743 MB / 0.5901 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/0.511, allocations: 7.432 MB / 0.5974 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04433/0.5553, allocations: 33.91 MB / 0.6305 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007174/0.5626, allocations: 3.026 MB / 0.6334 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/0.5652, allocations: 1.847 MB / 0.6353 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.5657, allocations: 335.8 kB / 0.6356 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.867e-05/0.5658, allocations: 59.14 kB / 0.6356 GB, free: 4.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=135): time 5.631e-06/0.5658, allocations: 0 / 0.6356 GB, free: 4.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=156): time 0.03622/0.602, allocations: 14.54 MB / 0.6498 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.6021, allocations: 179.2 kB / 0.65 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/0.6072, allocations: 3.534 MB / 0.6535 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.6075, allocations: 49.69 kB / 0.6535 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.6098, allocations: 2.765 MB / 0.6562 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007639/0.6105, allocations: 0.628 MB / 0.6568 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.612, allocations: 1.068 MB / 0.6579 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6122, allocations: 305.1 kB / 0.6581 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.6153, allocations: 2.017 MB / 0.6601 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006269/0.6216, allocations: 5.222 MB / 0.6652 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/0.6326, allocations: 7.848 MB / 0.6729 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.881e-05/0.6327, allocations: 39.94 kB / 0.6729 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01493/0.6476, allocations: 7.815 MB / 0.6805 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.6478, allocations: 52 kB / 0.6806 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/0.6479, allocations: 112 kB / 0.6807 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.6504, allocations: 0.9771 MB / 0.6817 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/0.6543, allocations: 1.185 MB / 0.6828 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009226/0.6636, allocations: 6.911 MB / 0.6896 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/0.6674, allocations: 299.5 kB / 0.6899 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006511/0.668, allocations: 324 kB / 0.6902 GB, free: 8.652 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.003112/0.6712, allocations: 1.852 MB / 0.692 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006217/0.6718, allocations: 326 kB / 0.6923 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/0.6778, allocations: 3.186 MB / 0.6954 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/0.6779, allocations: 24 kB / 0.6954 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.6779, allocations: 4 kB / 0.6954 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.6779, allocations: 7.969 kB / 0.6954 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.692, allocations: 7.811 MB / 0.7031 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.692, allocations: 0 / 0.7031 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.6932, allocations: 227.7 kB / 0.7033 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/0.6954, allocations: 0.8123 MB / 0.7041 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.6956, allocations: 28 kB / 0.7041 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009205/0.7048, allocations: 6.5 MB / 0.7104 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7049, allocations: 0 / 0.7104 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009627/0.7145, allocations: 5.836 MB / 0.7161 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7156, allocations: 378.8 kB / 0.7165 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.716, allocations: 24.19 kB / 0.7165 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7172, allocations: 95.86 kB / 0.7166 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.7175, allocations: 92.75 kB / 0.7167 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.7176, allocations: 43.98 kB / 0.7167 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003395/0.721, allocations: 2.205 MB / 0.7189 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.721, allocations: 0 / 0.7189 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003939/0.725, allocations: 0.8671 MB / 0.7197 GB, free: 10.07 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.009137/0.7341, allocations: 6.465 MB / 0.7261 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2553/0.9895, allocations: 4.889 MB / 0.7308 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/0.9895, allocations: 0.625 kB / 0.7308 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002873/0.9924, allocations: 1.78 MB / 0.7326 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.9946, allocations: 380.7 kB / 0.7329 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/1.042, allocations: 40.85 MB / 0.7728 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/1.044, allocations: 2.884 MB / 0.7756 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003052/1.047, allocations: 1.707 MB / 0.7773 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.049, allocations: 1.55 MB / 0.7788 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.049, allocations: 0 / 0.7788 GB, free: 141.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09442/1.143, allocations: 62.57 MB / 0.8399 GB, free: 79.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.95/22.09, allocations: 10.2 kB / 0.8399 GB, free: 79.7 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)