Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009406/0.0009406, allocations: 195.9 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008419/0.0008416, allocations: 94.09 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3309/0.3309, allocations: 45.01 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002569/0.0002569, allocations: 8 kB / 470.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3362, allocations: 63.09 MB / 0.5214 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.04245/0.3787, allocations: 37.33 MB / 0.5578 GB, free: 12.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.404, allocations: 12.29 MB / 0.5698 GB, free: 2.027 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009216/0.4133, allocations: 173.6 kB / 0.57 GB, free: 2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001956/0.4153, allocations: 377.5 kB / 0.5704 GB, free: 1.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.4221, allocations: 1.543 MB / 0.5719 GB, free: 1.152 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.4242, allocations: 0.6243 MB / 0.5725 GB, free: 0.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.4346, allocations: 5.53 MB / 0.5779 GB, free: 12.34 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008396/0.4431, allocations: 4.821 MB / 0.5826 GB, free: 7.254 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.446, allocations: 1.062 MB / 0.5836 GB, free: 6.188 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003427/0.4494, allocations: 1.635 MB / 0.5852 GB, free: 4.547 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005837/0.45, allocations: 120 kB / 0.5853 GB, free: 4.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.4527, allocations: 1.034 MB / 0.5863 GB, free: 3.395 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001886/0.4546, allocations: 1.437 MB / 0.5877 GB, free: 1.953 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.4572, allocations: 1.717 MB / 0.5894 GB, free: 224 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007379/0.4646, allocations: 5.921 MB / 0.5952 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4647, allocations: 3.938 kB / 0.5952 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4647, allocations: 0 / 0.5952 GB, free: 10.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002701/0.465, allocations: 4 kB / 0.5952 GB, free: 10.27 MB / 410.7 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.008324/0.4733, allocations: 3.489 MB / 0.5986 GB, free: 6.715 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4734, allocations: 8.031 kB / 0.5986 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008233/0.4816, allocations: 2.071 MB / 0.6006 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/0.4884, allocations: 2.307 MB / 0.6029 GB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.4887, allocations: 197.4 kB / 0.6031 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.4899, allocations: 263.7 kB / 0.6033 GB, free: 1.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01749/0.5074, allocations: 8.762 MB / 0.6119 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/0.5077, allocations: 47.58 kB / 0.6119 GB, free: 8.395 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009762/0.5087, allocations: 131.9 kB / 0.6121 GB, free: 8.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003341/0.512, allocations: 1.794 MB / 0.6138 GB, free: 6.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.526, allocations: 7.694 MB / 0.6213 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.5689, allocations: 34.78 MB / 0.6553 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006692/0.5756, allocations: 3.081 MB / 0.6583 GB, free: 7.762 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.5783, allocations: 1.918 MB / 0.6602 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.5787, allocations: 323.9 kB / 0.6605 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5788, allocations: 47.16 kB / 0.6605 GB, free: 5.406 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 4.478e-06/0.5788, allocations: 3.938 kB / 0.6605 GB, free: 5.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.0362/0.615, allocations: 15.36 MB / 0.6755 GB, free: 5.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6152, allocations: 179.2 kB / 0.6757 GB, free: 5.691 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/0.6204, allocations: 3.521 MB / 0.6791 GB, free: 2.168 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004038/0.6208, allocations: 49.61 kB / 0.6792 GB, free: 2.117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2525/0.8733, allocations: 2.677 MB / 0.6818 GB, free: 132.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.8745, allocations: 0.611 MB / 0.6824 GB, free: 132.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.8749, allocations: 109.4 kB / 0.6825 GB, free: 132.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003593/0.8753, allocations: 0.537 MB / 0.683 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003396/0.8787, allocations: 2.113 MB / 0.6851 GB, free: 131.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.8832, allocations: 5.363 MB / 0.6903 GB, free: 126.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007385/0.8906, allocations: 8.075 MB / 0.6982 GB, free: 120 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.8907, allocations: 31.5 kB / 0.6982 GB, free: 120 MB / 490.7 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01471/0.9055, allocations: 8.289 MB / 0.7063 GB, free: 116.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.9056, allocations: 53.41 kB / 0.7064 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/0.9058, allocations: 115.1 kB / 0.7065 GB, free: 116.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.909, allocations: 1.219 MB / 0.7077 GB, free: 116.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/0.913, allocations: 1.224 MB / 0.7089 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009354/0.9224, allocations: 7.196 MB / 0.7159 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/0.927, allocations: 319.1 kB / 0.7162 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000867/0.9279, allocations: 332.6 kB / 0.7165 GB, free: 112.6 MB / 490.7 MB 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 (655): * Single equations (assignments): 651 * 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.003047/0.9309, allocations: 1.881 MB / 0.7184 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.9315, allocations: 306.6 kB / 0.7187 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.9367, allocations: 3.562 MB / 0.7221 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/0.9368, allocations: 18.81 kB / 0.7222 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.9368, allocations: 11.66 kB / 0.7222 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.9368, allocations: 8.672 kB / 0.7222 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.9499, allocations: 8.331 MB / 0.7303 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.9499, allocations: 0 / 0.7303 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.9509, allocations: 227.3 kB / 0.7305 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.9532, allocations: 1.062 MB / 0.7316 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.9533, allocations: 27.98 kB / 0.7316 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006704/0.96, allocations: 6.715 MB / 0.7382 GB, free: 98.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.96, allocations: 4.75 kB / 0.7382 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007007/0.967, allocations: 6.264 MB / 0.7443 GB, free: 92.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007014/0.9678, allocations: 361 kB / 0.7446 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.9681, allocations: 24.62 kB / 0.7446 GB, free: 91.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.9692, allocations: 111.8 kB / 0.7447 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.9695, allocations: 81.5 kB / 0.7448 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.9696, allocations: 40.62 kB / 0.7449 GB, free: 91.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002456/0.9721, allocations: 2.193 MB / 0.747 GB, free: 89.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.9721, allocations: 4.094 kB / 0.747 GB, free: 89.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003616/0.9757, allocations: 0.9171 MB / 0.7479 GB, free: 88.44 MB / 490.7 MB 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.0003049/0.976, allocations: 163.4 kB / 0.7481 GB, free: 88.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006305/0.9823, allocations: 5.078 MB / 0.753 GB, free: 83.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9823, allocations: 0.8125 kB / 0.753 GB, free: 83.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.9847, allocations: 1.849 MB / 0.7548 GB, free: 81.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002273/0.987, allocations: 366 kB / 0.7552 GB, free: 80.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1, allocations: 10.26 MB / 0.7652 GB, free: 70.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/1.003, allocations: 2.922 MB / 0.7681 GB, free: 67.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003862/1.007, allocations: 1.726 MB / 0.7697 GB, free: 66.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006757/1.007, allocations: 215.4 kB / 0.7699 GB, free: 65.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.482e-06/1.007, allocations: 0 / 0.7699 GB, free: 65.8 MB / 490.7 MB Notification: Performance of Templates: time 0.05252/1.06, allocations: 34.46 MB / 0.8036 GB, free: 31.54 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches