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.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.0008501/0.0008501, 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.0009877/0.0009877, 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.9286/0.9286, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225e-05/1.371e-05, allocations: 2.281 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1783/0.1783, allocations: 8.372 MB / 448 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.182, allocations: 3.627 MB / 451.6 MB, free: 40.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.1824, allocations: 58.25 kB / 451.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1842, allocations: 2.345 MB / 454 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1857, allocations: 1.691 MB / 455.7 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.1863, allocations: 0.7585 MB / 456.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.1883, allocations: 4.202 MB / 460.6 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1896, allocations: 2.568 MB / 463.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1907, allocations: 1.974 MB / 465.2 MB, free: 34.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.1917, allocations: 1.846 MB / 467 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.1919, allocations: 291 kB / 467.3 MB, free: 33.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008134/0.1927, allocations: 1.104 MB / 468.4 MB, free: 33.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.1934, allocations: 1.703 MB / 470.1 MB, free: 32.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.1939, allocations: 1.084 MB / 471.2 MB, free: 32.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.1969, allocations: 6.372 MB / 477.6 MB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1969, allocations: 3.938 kB / 477.6 MB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1969, allocations: 0 / 477.6 MB, free: 30.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.937e-05/0.1969, allocations: 0 / 477.6 MB, free: 30.17 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.004769/0.2017, allocations: 4.301 MB / 481.9 MB, free: 27.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2017, allocations: 10.75 kB / 481.9 MB, free: 27.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000564/0.2023, allocations: 0.6089 MB / 482.5 MB, free: 27.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.2146, allocations: 3.98 MB / 486.5 MB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.2178, allocations: 2.299 MB / 488.8 MB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2179, allocations: 194.6 kB / 489 MB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003601/0.2183, allocations: 262.5 kB / 489.2 MB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008102/0.2264, allocations: 8.549 MB / 497.8 MB, free: 21.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-05/0.2265, allocations: 40.11 kB / 497.8 MB, free: 21.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.2267, allocations: 129.8 kB / 497.9 MB, free: 21.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/0.2283, allocations: 1.739 MB / 499.7 MB, free: 20.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/0.2359, allocations: 7.415 MB / 0.4952 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/0.2581, allocations: 32.68 MB / 0.5271 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003613/0.2617, allocations: 2.519 MB / 0.5296 GB, free: 12.44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.263, allocations: 1.708 MB / 0.5313 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.2632, allocations: 88.59 kB / 0.5313 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2632, allocations: 46.47 kB / 0.5314 GB, free: 10.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.868e-06/0.2632, allocations: 3.938 kB / 0.5314 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02157/0.2848, allocations: 14.7 MB / 0.5457 GB, free: 11.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.2849, allocations: 175.2 kB / 0.5459 GB, free: 11.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.289, allocations: 3.891 MB / 0.5497 GB, free: 7.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.2891, allocations: 53.7 kB / 0.5498 GB, free: 7.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.2907, allocations: 2.738 MB / 0.5524 GB, free: 4.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/0.2913, allocations: 0.6241 MB / 0.553 GB, free: 4.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.2924, allocations: 1.056 MB / 0.5541 GB, free: 3.203 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.2925, allocations: 309.1 kB / 0.5544 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.2946, allocations: 2.015 MB / 0.5563 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/0.2982, allocations: 5.243 MB / 0.5615 GB, free: 10.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/0.3044, allocations: 7.85 MB / 0.5691 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-05/0.3045, allocations: 32 kB / 0.5692 GB, free: 0.543 MB / 474.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.008316/0.3128, allocations: 7.8 MB / 0.5768 GB, free: 8.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.242e-05/0.3128, allocations: 52 kB / 0.5768 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/0.3129, allocations: 112.8 kB / 0.5769 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.3143, allocations: 0.971 MB / 0.5779 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.3162, allocations: 1.189 MB / 0.579 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.322, allocations: 6.793 MB / 0.5857 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.3245, allocations: 335.5 kB / 0.586 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.3248, allocations: 328 kB / 0.5863 GB, free: 14.85 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.002386/0.3272, allocations: 1.844 MB / 0.5881 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.3276, allocations: 317.9 kB / 0.5884 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.3314, allocations: 3.194 MB / 0.5915 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.3315, allocations: 16 kB / 0.5915 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.3315, allocations: 4 kB / 0.5916 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3315, allocations: 3.984 kB / 0.5916 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008645/0.3401, allocations: 7.51 MB / 0.5989 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3401, allocations: 4 kB / 0.5989 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.3407, allocations: 227.6 kB / 0.5991 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/0.3418, allocations: 0.8055 MB / 0.5999 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.3419, allocations: 27.98 kB / 0.5999 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/0.3474, allocations: 6.382 MB / 0.6062 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3474, allocations: 3.938 kB / 0.6062 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/0.3531, allocations: 5.828 MB / 0.6119 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.3537, allocations: 321.7 kB / 0.6122 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.3539, allocations: 28 kB / 0.6122 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007698/0.3547, allocations: 119.8 kB / 0.6123 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3548, allocations: 92.81 kB / 0.6124 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.3549, allocations: 43.94 kB / 0.6124 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002329/0.3572, allocations: 2.345 MB / 0.6147 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3572, allocations: 4.094 kB / 0.6147 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002976/0.3602, allocations: 0.9608 MB / 0.6157 GB, free: 0.5703 MB / 0.5105 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.006151/0.3664, allocations: 6.477 MB / 0.622 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005617/0.372, allocations: 4.704 MB / 0.6266 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.372, allocations: 0 / 0.6266 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.3737, allocations: 1.65 MB / 0.6282 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.3753, allocations: 392.4 kB / 0.6286 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2185/0.5938, allocations: 41.25 MB / 0.6689 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002272/0.5961, allocations: 2.333 MB / 0.6711 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00241/0.5985, allocations: 1.715 MB / 0.6728 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.5998, allocations: 1.559 MB / 0.6743 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.784e-06/0.5998, allocations: 5.469 kB / 0.6743 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07004/0.6698, allocations: 64.83 MB / 0.7376 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.84, allocations: 7.859 kB / 0.7377 GB, free: 85.89 MB / 0.5261 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.011803354136646]