Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008238/0.0008237, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007965/0.0007965, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.0002941, allocations: 13.31 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.03693/0.1533, allocations: 37.17 MB / 0.4969 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2804/0.4337, allocations: 8.638 MB / 0.5053 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007749/0.4415, allocations: 173.9 kB / 0.5055 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007081/0.4486, allocations: 1.924 MB / 0.5074 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.4654, allocations: 5.809 MB / 0.5131 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.4683, allocations: 0.5741 MB / 0.5136 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03773/0.506, allocations: 31.84 MB / 0.5447 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005438/0.5115, allocations: 3.617 MB / 0.5482 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.5136, allocations: 1.039 MB / 0.5493 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.5159, allocations: 1.628 MB / 0.5508 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00036/0.5163, allocations: 120 kB / 0.551 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.5181, allocations: 0.9174 MB / 0.5519 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.5195, allocations: 1.415 MB / 0.5532 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007773/0.5203, allocations: 0.7315 MB / 0.554 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.5253, allocations: 4.952 MB / 0.5588 GB, free: 2.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5253, allocations: 0 / 0.5588 GB, free: 2.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5254, allocations: 0 / 0.5588 GB, free: 2.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001342/0.5255, allocations: 0 / 0.5588 GB, free: 2.43 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.007457/0.533, allocations: 3.588 MB / 0.5623 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.533, allocations: 8.031 kB / 0.5623 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008925/0.5339, allocations: 0.6306 MB / 0.5629 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01808/0.552, allocations: 3.826 MB / 0.5667 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/0.5573, allocations: 2.574 MB / 0.5692 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.5575, allocations: 197 kB / 0.5694 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006234/0.5581, allocations: 260.4 kB / 0.5696 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.5732, allocations: 8.697 MB / 0.5781 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.5733, allocations: 49.05 kB / 0.5781 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.5737, allocations: 128.9 kB / 0.5783 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/0.5766, allocations: 1.8 MB / 0.58 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.5912, allocations: 7.556 MB / 0.5874 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04348/0.6348, allocations: 34.43 MB / 0.621 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006402/0.6412, allocations: 3.022 MB / 0.624 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.6435, allocations: 1.851 MB / 0.6258 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003776/0.6439, allocations: 330.5 kB / 0.6261 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.6439, allocations: 43.22 kB / 0.6261 GB, free: 1.594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.328e-06/0.644, allocations: 0 / 0.6261 GB, free: 1.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03479/0.6787, allocations: 14.41 MB / 0.6402 GB, free: 3.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.6789, allocations: 175.2 kB / 0.6404 GB, free: 2.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006826/0.6857, allocations: 3.537 MB / 0.6438 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003689/0.6861, allocations: 49.7 kB / 0.6439 GB, free: 15.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.6883, allocations: 2.709 MB / 0.6465 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006792/0.689, allocations: 0.604 MB / 0.6471 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.6893, allocations: 104 kB / 0.6472 GB, free: 11.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003132/0.6896, allocations: 0.529 MB / 0.6477 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002845/0.6924, allocations: 2.005 MB / 0.6497 GB, free: 9.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005/0.6975, allocations: 5.248 MB / 0.6548 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/0.702, allocations: 3.185 MB / 0.6579 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.262e-05/0.702, allocations: 43.88 kB / 0.658 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01361/0.7156, allocations: 7.802 MB / 0.6656 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.7158, allocations: 57.75 kB / 0.6656 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002018/0.7161, allocations: 116 kB / 0.6658 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.7186, allocations: 0.9812 MB / 0.6667 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/0.7229, allocations: 1.197 MB / 0.6679 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009168/0.7321, allocations: 6.455 MB / 0.6742 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/0.7369, allocations: 315.5 kB / 0.6745 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/0.7382, allocations: 324 kB / 0.6748 GB, free: 13.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.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 (636): * Single equations (assignments): 632 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004654/0.7429, allocations: 1.871 MB / 0.6766 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/0.7439, allocations: 308.1 kB / 0.6769 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006717/0.7507, allocations: 3.198 MB / 0.68 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.797e-05/0.7508, allocations: 25.92 kB / 0.6801 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/0.7508, allocations: 4 kB / 0.6801 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.7508, allocations: 7.969 kB / 0.6801 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.7668, allocations: 7.955 MB / 0.6878 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.7668, allocations: 4 kB / 0.6878 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.7679, allocations: 223.7 kB / 0.6881 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.77, allocations: 0.8007 MB / 0.6888 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.7702, allocations: 27.98 kB / 0.6889 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008079/0.7783, allocations: 5.997 MB / 0.6947 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7783, allocations: 0 / 0.6947 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009526/0.7878, allocations: 5.807 MB / 0.7004 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.7891, allocations: 369.1 kB / 0.7007 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/0.79, allocations: 23.95 kB / 0.7008 GB, free: 3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/0.7919, allocations: 95.86 kB / 0.7009 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/0.7923, allocations: 84.88 kB / 0.7009 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/0.7925, allocations: 47.34 kB / 0.701 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005016/0.7975, allocations: 2.21 MB / 0.7031 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.51e-07/0.7976, allocations: 4 kB / 0.7032 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.3049/1.102, allocations: 0.8772 MB / 0.704 GB, free: 186.9 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/1.113, allocations: 6.426 MB / 0.7103 GB, free: 185.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008332/1.121, allocations: 4.865 MB / 0.715 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.121, allocations: 0 / 0.715 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/1.124, allocations: 1.768 MB / 0.7168 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.126, allocations: 379.2 kB / 0.7171 GB, free: 183.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/1.173, allocations: 30.68 MB / 0.7471 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/1.176, allocations: 2.924 MB / 0.7499 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003968/1.18, allocations: 1.726 MB / 0.7516 GB, free: 159 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/1.182, allocations: 1.597 MB / 0.7532 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.182, allocations: 0 / 0.7532 GB, free: 157.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09843/1.28, allocations: 69.83 MB / 0.8214 GB, free: 88.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.28, allocations: 232.5 kB / 0.8216 GB, free: 87.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.145/5.425, allocations: 0 / 0.8216 GB, free: 87.84 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat