Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 34.26 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.524e-05, allocations: 2.281 kB / 442.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1814/0.1814, allocations: 8.362 MB / 450.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003947/0.1854, allocations: 3.619 MB / 454.2 MB, free: 37.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.1859, allocations: 62.62 kB / 454.2 MB, free: 37.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1877, allocations: 2.343 MB / 456.6 MB, free: 36.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1893, allocations: 1.707 MB / 458.3 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.1899, allocations: 0.7551 MB / 459 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.1918, allocations: 4.196 MB / 463.2 MB, free: 33.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.1931, allocations: 2.573 MB / 465.8 MB, free: 32.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1941, allocations: 1.967 MB / 467.8 MB, free: 31.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.1952, allocations: 1.856 MB / 469.6 MB, free: 31.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.1954, allocations: 289.2 kB / 469.9 MB, free: 31.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.1962, allocations: 1.107 MB / 471 MB, free: 31.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006041/0.1968, allocations: 1.698 MB / 472.7 MB, free: 30.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.1973, allocations: 1.08 MB / 473.8 MB, free: 29.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002997/0.2003, allocations: 6.377 MB / 480.2 MB, free: 27.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2003, allocations: 5.625 kB / 480.2 MB, free: 27.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2003, allocations: 0 / 480.2 MB, free: 27.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.062e-05/0.2004, allocations: 0 / 480.2 MB, free: 27.68 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.004959/0.2053, allocations: 4.301 MB / 484.5 MB, free: 25.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2054, allocations: 9.469 kB / 484.5 MB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005853/0.206, allocations: 0.6136 MB / 485.1 MB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.2172, allocations: 3.98 MB / 489.1 MB, free: 24.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.2204, allocations: 2.3 MB / 491.4 MB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.2205, allocations: 194.2 kB / 491.6 MB, free: 23.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.2209, allocations: 261.9 kB / 491.8 MB, free: 23.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008629/0.2295, allocations: 8.545 MB / 0.4886 GB, free: 18.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.479e-05/0.2296, allocations: 40.23 kB / 0.4887 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.2298, allocations: 123.9 kB / 0.4888 GB, free: 18.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001776/0.2316, allocations: 1.743 MB / 0.4905 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008129/0.2397, allocations: 7.417 MB / 0.4977 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.2614, allocations: 32.68 MB / 0.5297 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003744/0.2652, allocations: 2.521 MB / 0.5321 GB, free: 8.543 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.2665, allocations: 1.707 MB / 0.5338 GB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.2667, allocations: 96.59 kB / 0.5339 GB, free: 6.727 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2667, allocations: 47.22 kB / 0.5339 GB, free: 6.672 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.346e-06/0.2667, allocations: 0 / 0.5339 GB, free: 6.672 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02102/0.2877, allocations: 14.7 MB / 0.5483 GB, free: 7.926 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.2878, allocations: 175.2 kB / 0.5484 GB, free: 7.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003949/0.2917, allocations: 3.895 MB / 0.5522 GB, free: 3.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/0.2918, allocations: 45.7 kB / 0.5523 GB, free: 3.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.293, allocations: 2.734 MB / 0.555 GB, free: 1.008 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.2935, allocations: 0.6241 MB / 0.5556 GB, free: 388 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009059/0.2944, allocations: 1.052 MB / 0.5566 GB, free: 15.31 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.521e-05/0.2944, allocations: 308.9 kB / 0.5569 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.2963, allocations: 2.013 MB / 0.5589 GB, free: 12.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.2997, allocations: 5.247 MB / 0.564 GB, free: 6.125 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006103/0.3058, allocations: 7.848 MB / 0.5716 GB, free: 12.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.33e-05/0.3058, allocations: 32 kB / 0.5717 GB, free: 12.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.008185/0.314, allocations: 7.804 MB / 0.5793 GB, free: 4.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.3141, allocations: 52 kB / 0.5794 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.034e-05/0.3141, allocations: 116 kB / 0.5795 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.3155, allocations: 0.9707 MB / 0.5804 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/0.3174, allocations: 1.185 MB / 0.5816 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006119/0.3235, allocations: 6.797 MB / 0.5882 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.3259, allocations: 331.5 kB / 0.5885 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.3262, allocations: 324 kB / 0.5888 GB, free: 10.97 MB / 0.4948 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.002017/0.3282, allocations: 1.841 MB / 0.5906 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.3285, allocations: 325.9 kB / 0.5909 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003574/0.3321, allocations: 3.186 MB / 0.594 GB, free: 5.594 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.3321, allocations: 16 kB / 0.5941 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3321, allocations: 12 kB / 0.5941 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3321, allocations: 7.969 kB / 0.5941 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/0.3412, allocations: 7.51 MB / 0.6014 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.3412, allocations: 0 / 0.6014 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.3418, allocations: 219.7 kB / 0.6016 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.343, allocations: 0.8094 MB / 0.6024 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.3431, allocations: 27.98 kB / 0.6024 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005915/0.349, allocations: 6.389 MB / 0.6087 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.349, allocations: 4 kB / 0.6087 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006209/0.3552, allocations: 5.82 MB / 0.6144 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/0.3559, allocations: 329.7 kB / 0.6147 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.3561, allocations: 20 kB / 0.6147 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.3569, allocations: 128.1 kB / 0.6148 GB, free: 116 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.357, allocations: 92.77 kB / 0.6149 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.3571, allocations: 36.05 kB / 0.6149 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002441/0.3596, allocations: 2.349 MB / 0.6172 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.3596, allocations: 0 / 0.6172 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002842/0.3624, allocations: 0.9647 MB / 0.6182 GB, free: 12.68 MB / 0.5261 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.005832/0.3682, allocations: 6.471 MB / 0.6245 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.3736, allocations: 4.691 MB / 0.6291 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3736, allocations: 4 kB / 0.6291 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.1803/0.5539, allocations: 1.661 MB / 0.6307 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.5564, allocations: 396.8 kB / 0.6311 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/0.5933, allocations: 41.24 MB / 0.6714 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.5956, allocations: 2.333 MB / 0.6736 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002662/0.5983, allocations: 1.723 MB / 0.6753 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/0.5996, allocations: 1.558 MB / 0.6768 GB, free: 130 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.5996, allocations: 0 / 0.6768 GB, free: 130 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.6675, allocations: 64.83 MB / 0.7402 GB, free: 80.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.88, allocations: 4.062 kB / 0.7402 GB, free: 80.11 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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.00019992 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.00446217507124]