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.001637/0.001637, allocations: 118.9 kB / 17.79 MB, free: 5.285 MB / 14.72 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.002495/0.002495, allocations: 203.3 kB / 20.74 MB, free: 2.34 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2286/0.2286, allocations: 44.9 MB / 355.1 MB, free: 12.32 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1424, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01199/0.1544, allocations: 9.511 MB / 0.5611 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00812/0.1625, allocations: 3.824 MB / 0.5648 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.1636, allocations: 63.69 kB / 0.5649 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004439/0.1681, allocations: 2.309 MB / 0.5671 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.1721, allocations: 1.654 MB / 0.5687 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.1737, allocations: 0.6862 MB / 0.5694 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005771/0.1795, allocations: 3.812 MB / 0.5731 GB, free: 4.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003555/0.183, allocations: 2.442 MB / 0.5755 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.1856, allocations: 1.304 MB / 0.5768 GB, free: 388 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.1884, allocations: 1.869 MB / 0.5786 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.1889, allocations: 284 kB / 0.5789 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.191, allocations: 1.19 MB / 0.58 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.1927, allocations: 1.624 MB / 0.5816 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1947, allocations: 1.891 MB / 0.5835 GB, free: 9.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007378/0.2021, allocations: 6.304 MB / 0.5896 GB, free: 3.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.2021, allocations: 0 / 0.5896 GB, free: 3.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2021, allocations: 3.938 kB / 0.5896 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.2022, allocations: 4 kB / 0.5896 GB, free: 3.168 MB / 446.1 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.2966/0.4988, allocations: 4.338 MB / 0.5939 GB, free: 35.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.4989, allocations: 11.84 kB / 0.5939 GB, free: 35.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001538/0.5004, allocations: 0.6087 MB / 0.5945 GB, free: 35.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03228/0.5327, allocations: 3.762 MB / 0.5981 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.5429, allocations: 2.531 MB / 0.6006 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005633/0.5435, allocations: 195.4 kB / 0.6008 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.5454, allocations: 257.5 kB / 0.601 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.5638, allocations: 8.529 MB / 0.6094 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5639, allocations: 41.55 kB / 0.6094 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.5642, allocations: 127.1 kB / 0.6095 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003232/0.5675, allocations: 1.74 MB / 0.6112 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.5806, allocations: 7.441 MB / 0.6185 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.6143, allocations: 33.89 MB / 0.6516 GB, free: 7.684 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.6216, allocations: 2.907 MB / 0.6544 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.624, allocations: 1.692 MB / 0.6561 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.6245, allocations: 328.7 kB / 0.6564 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/0.6245, allocations: 55.2 kB / 0.6565 GB, free: 2.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 4.328e-06/0.6245, allocations: 0 / 0.6565 GB, free: 2.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.0392/0.6637, allocations: 14.57 MB / 0.6707 GB, free: 3.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6639, allocations: 167.2 kB / 0.6708 GB, free: 3.629 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005088/0.6689, allocations: 3.526 MB / 0.6743 GB, free: 104 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.6692, allocations: 45.7 kB / 0.6743 GB, free: 52 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002235/0.6714, allocations: 2.766 MB / 0.677 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007199/0.6721, allocations: 0.628 MB / 0.6776 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/0.6737, allocations: 1.072 MB / 0.6787 GB, free: 11.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6738, allocations: 309.1 kB / 0.679 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.677, allocations: 2.021 MB / 0.681 GB, free: 9.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005917/0.6829, allocations: 5.218 MB / 0.6861 GB, free: 2.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.693, allocations: 7.859 MB / 0.6937 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.392e-05/0.6931, allocations: 32 kB / 0.6938 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01467/0.7078, allocations: 7.788 MB / 0.7014 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.7079, allocations: 56 kB / 0.7014 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.708, allocations: 112.9 kB / 0.7015 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002642/0.7107, allocations: 0.9729 MB / 0.7025 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/0.7148, allocations: 1.189 MB / 0.7036 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009949/0.7248, allocations: 6.914 MB / 0.7104 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/0.7288, allocations: 295.6 kB / 0.7107 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008935/0.7297, allocations: 324 kB / 0.711 GB, free: 7.117 MB / 0.5137 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.003233/0.733, allocations: 1.852 MB / 0.7128 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/0.7337, allocations: 321.8 kB / 0.7131 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/0.7399, allocations: 3.186 MB / 0.7162 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.74, allocations: 23.98 kB / 0.7162 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.74, allocations: 4 kB / 0.7162 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.74, allocations: 3.984 kB / 0.7162 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.7548, allocations: 7.803 MB / 0.7239 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.7548, allocations: 4 kB / 0.7239 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.756, allocations: 227.6 kB / 0.7241 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.7583, allocations: 0.8124 MB / 0.7249 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.7585, allocations: 24 kB / 0.7249 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009359/0.7679, allocations: 6.491 MB / 0.7312 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7679, allocations: 4 kB / 0.7312 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009563/0.7775, allocations: 5.828 MB / 0.7369 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/0.7785, allocations: 370.9 kB / 0.7373 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/0.779, allocations: 28.75 kB / 0.7373 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.7804, allocations: 95.77 kB / 0.7374 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/0.7808, allocations: 88.83 kB / 0.7375 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.7809, allocations: 39.98 kB / 0.7375 GB, free: 11.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00383/0.7847, allocations: 2.205 MB / 0.7397 GB, free: 9.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7847, allocations: 0 / 0.7397 GB, free: 9.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004974/0.7897, allocations: 0.8593 MB / 0.7405 GB, free: 8.59 MB / 0.545 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.01055/0.8002, allocations: 6.459 MB / 0.7468 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008986/0.8092, allocations: 4.71 MB / 0.7514 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.8092, allocations: 0 / 0.7514 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003236/0.8125, allocations: 1.658 MB / 0.753 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.8151, allocations: 395.1 kB / 0.7534 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07443/0.8896, allocations: 40.81 MB / 0.7933 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003844/0.8934, allocations: 2.885 MB / 0.7961 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004029/0.8974, allocations: 1.703 MB / 0.7978 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002409/0.8998, allocations: 1.554 MB / 0.7993 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of SimCode: time 1.283e-06/0.8998, allocations: 0 / 0.7993 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4452/1.345, allocations: 63 MB / 0.8608 GB, free: 217 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.32/22.66, allocations: 7.156 kB / 0.8608 GB, free: 217 MB / 0.6387 GB " [Timeout remaining time 637] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/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: 25.98716730903834]