Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_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.001436/0.001437, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001613/0.001613, allocations: 192.5 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3402/0.3402, allocations: 43.49 MB / 313.6 MB, free: 8.578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 71.89 kB / 382.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1412, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3203/0.4615, allocations: 41.69 MB / 481.8 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02421/0.4858, allocations: 9.145 MB / 490.9 MB, free: 19.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/0.4971, allocations: 177.2 kB / 491.1 MB, free: 19.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004629/0.5018, allocations: 2.229 MB / 493.3 MB, free: 18.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.5066, allocations: 1.615 MB / 495 MB, free: 17.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.5082, allocations: 0.652 MB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005641/0.5139, allocations: 3.937 MB / 499.5 MB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.5183, allocations: 3.16 MB / 0.4909 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.5212, allocations: 1.387 MB / 0.4923 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003869/0.5251, allocations: 2.068 MB / 0.4943 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009426/0.526, allocations: 305.5 kB / 0.4946 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.529, allocations: 1.195 MB / 0.4958 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002365/0.5314, allocations: 1.744 MB / 0.4975 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.534, allocations: 2.08 MB / 0.4995 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01148/0.5455, allocations: 6.647 MB / 0.506 GB, free: 8.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.5455, allocations: 4 kB / 0.506 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5456, allocations: 1.219 kB / 0.506 GB, free: 8.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002818/0.5458, allocations: 0 / 0.506 GB, free: 8.742 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01734/0.5632, allocations: 4.526 MB / 0.5104 GB, free: 5.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.5633, allocations: 13.8 kB / 0.5104 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0023/0.5656, allocations: 0.6556 MB / 0.5111 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02182/0.5874, allocations: 3.801 MB / 0.5148 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00749/0.5949, allocations: 2.845 MB / 0.5175 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.5951, allocations: 206 kB / 0.5177 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.5964, allocations: 283.2 kB / 0.518 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.6159, allocations: 9.215 MB / 0.527 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/0.6161, allocations: 43.58 kB / 0.5271 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004689/0.6165, allocations: 131.9 kB / 0.5272 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.6203, allocations: 1.919 MB / 0.5291 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.6378, allocations: 8.036 MB / 0.5369 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04875/0.6866, allocations: 36.11 MB / 0.5722 GB, free: 8.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00774/0.6944, allocations: 3.618 MB / 0.5757 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.6975, allocations: 2.017 MB / 0.5777 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/0.698, allocations: 336.2 kB / 0.578 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/0.6981, allocations: 43.56 kB / 0.578 GB, free: 1.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=156): time 5.761e-06/0.6981, allocations: 0 / 0.578 GB, free: 1.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=177): time 0.03718/0.7353, allocations: 15.37 MB / 0.593 GB, free: 2.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.7354, allocations: 175.2 kB / 0.5932 GB, free: 2.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005779/0.7412, allocations: 3.656 MB / 0.5968 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000499/0.7417, allocations: 57.69 kB / 0.5968 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002469/0.7442, allocations: 2.819 MB / 0.5996 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/0.7456, allocations: 0.6787 MB / 0.6003 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.7472, allocations: 1.115 MB / 0.6013 GB, free: 9.883 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7473, allocations: 301.1 kB / 0.6016 GB, free: 9.586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.7504, allocations: 2.185 MB / 0.6038 GB, free: 7.395 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005597/0.756, allocations: 5.524 MB / 0.6092 GB, free: 204 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009881/0.7659, allocations: 8.354 MB / 0.6173 GB, free: 6.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-05/0.7661, allocations: 32 kB / 0.6173 GB, free: 6.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01566/0.7817, allocations: 8.267 MB / 0.6254 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/0.7819, allocations: 56.94 kB / 0.6255 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/0.782, allocations: 116 kB / 0.6256 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/0.7844, allocations: 0.9726 MB / 0.6265 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.7888, allocations: 1.263 MB / 0.6278 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009321/0.7982, allocations: 6.933 MB / 0.6345 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/0.8036, allocations: 315.4 kB / 0.6348 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/0.805, allocations: 344 kB / 0.6352 GB, free: 3.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (671): * Single equations (assignments): 667 * 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.005364/0.8103, allocations: 1.965 MB / 0.6371 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/0.8113, allocations: 323.8 kB / 0.6374 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2625/1.074, allocations: 3.558 MB / 0.6409 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/1.074, allocations: 20.06 kB / 0.6409 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.074, allocations: 9.016 kB / 0.6409 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/1.074, allocations: 10 kB / 0.6409 GB, free: 158 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.088, allocations: 8.664 MB / 0.6494 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.088, allocations: 4.531 kB / 0.6494 GB, free: 155.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.09, allocations: 271.5 kB / 0.6496 GB, free: 155.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.092, allocations: 0.812 MB / 0.6504 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/1.092, allocations: 33.14 kB / 0.6505 GB, free: 155.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007757/1.099, allocations: 6.436 MB / 0.6567 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.1, allocations: 3.844 kB / 0.6567 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008628/1.108, allocations: 6.382 MB / 0.663 GB, free: 149.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.11, allocations: 0.6631 MB / 0.6636 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/1.11, allocations: 26.38 kB / 0.6636 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.112, allocations: 107.6 kB / 0.6638 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/1.112, allocations: 101.9 kB / 0.6638 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/1.112, allocations: 48.14 kB / 0.6639 GB, free: 149.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004561/1.117, allocations: 2.293 MB / 0.6661 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.117, allocations: 0 / 0.6661 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005008/1.122, allocations: 0.9404 MB / 0.6671 GB, free: 148.5 MB / 0.4981 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 (137): * Single equations (assignments): 133 * 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.009563/1.131, allocations: 7.027 MB / 0.6739 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.143, allocations: 6.312 MB / 0.6801 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/1.143, allocations: 0.9375 kB / 0.6801 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003134/1.146, allocations: 1.947 MB / 0.682 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/1.148, allocations: 411.3 kB / 0.6824 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07075/1.219, allocations: 49.98 MB / 0.7312 GB, free: 95.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.222, allocations: 3.074 MB / 0.7342 GB, free: 92.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00415/1.226, allocations: 1.798 MB / 0.7359 GB, free: 90.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/1.228, allocations: 1.739 MB / 0.7376 GB, free: 88.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.112e-06/1.228, allocations: 0 / 0.7376 GB, free: 88.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.614/1.842, allocations: 69.75 MB / 0.8058 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.842, allocations: 243 kB / 0.806 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.908/5.75, allocations: 0 / 0.806 GB, free: 18.66 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches