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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001613/0.001613, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2395/0.2395, allocations: 44.94 MB / 358.8 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 179] 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.002154/0.002154, allocations: 63.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 65.46 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01273/0.384, allocations: 8.377 MB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009239/0.3932, allocations: 3.614 MB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.3951, allocations: 63.69 kB / 0.5687 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005122/0.4002, allocations: 2.223 MB / 0.5709 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005258/0.4055, allocations: 1.658 MB / 0.5725 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.4077, allocations: 0.6901 MB / 0.5732 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006287/0.4139, allocations: 3.812 MB / 0.5769 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00411/0.4181, allocations: 2.304 MB / 0.5792 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.421, allocations: 1.312 MB / 0.5805 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003886/0.4248, allocations: 1.76 MB / 0.5822 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.4262, allocations: 280 kB / 0.5824 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.4294, allocations: 1.057 MB / 0.5835 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003067/0.4325, allocations: 1.628 MB / 0.5851 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003541/0.436, allocations: 1.386 MB / 0.5864 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01207/0.4481, allocations: 6.327 MB / 0.5926 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4481, allocations: 0 / 0.5926 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4481, allocations: 0 / 0.5926 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000246/0.4483, allocations: 0 / 0.5926 GB, free: 2.898 MB / 430.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.01831/0.4666, allocations: 4.272 MB / 0.5968 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.4667, allocations: 12.03 kB / 0.5968 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002422/0.4691, allocations: 0.616 MB / 0.5974 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03338/0.5025, allocations: 3.766 MB / 0.6011 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007314/0.5098, allocations: 2.47 MB / 0.6035 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.51, allocations: 205.2 kB / 0.6037 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007934/0.5108, allocations: 263.8 kB / 0.6039 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/0.5268, allocations: 8.551 MB / 0.6123 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.5269, allocations: 39.69 kB / 0.6123 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.5273, allocations: 119.9 kB / 0.6124 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/0.5305, allocations: 1.739 MB / 0.6141 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01508/0.5456, allocations: 7.412 MB / 0.6214 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04974/0.5954, allocations: 32.46 MB / 0.6531 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/0.6024, allocations: 2.46 MB / 0.6555 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.605, allocations: 1.704 MB / 0.6571 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003806/0.6054, allocations: 88.59 kB / 0.6572 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.6054, allocations: 47.22 kB / 0.6573 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.169e-06/0.6055, allocations: 0 / 0.6573 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04003/0.6455, allocations: 14.32 MB / 0.6712 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.6456, allocations: 175.1 kB / 0.6714 GB, free: 320 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006986/0.6526, allocations: 3.715 MB / 0.675 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003837/0.653, allocations: 45.7 kB / 0.6751 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002514/0.6555, allocations: 2.769 MB / 0.6778 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009398/0.6564, allocations: 0.628 MB / 0.6784 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002186/0.6586, allocations: 1.075 MB / 0.6794 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.6588, allocations: 301.1 kB / 0.6797 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.662, allocations: 2.013 MB / 0.6817 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006209/0.6682, allocations: 5.243 MB / 0.6868 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.6791, allocations: 7.849 MB / 0.6945 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/0.6793, allocations: 36 kB / 0.6945 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01688/0.6961, allocations: 7.802 MB / 0.7021 GB, free: 13.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.6963, allocations: 55.94 kB / 0.7022 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/0.6965, allocations: 116.1 kB / 0.7023 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.6991, allocations: 0.965 MB / 0.7032 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.7034, allocations: 1.181 MB / 0.7044 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009828/0.7132, allocations: 6.746 MB / 0.711 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/0.7172, allocations: 299.6 kB / 0.7113 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009875/0.7182, allocations: 324 kB / 0.7116 GB, free: 3.777 MB / 0.545 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.003827/0.722, allocations: 1.852 MB / 0.7134 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008227/0.7228, allocations: 321.8 kB / 0.7137 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/0.729, allocations: 3.194 MB / 0.7168 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/0.729, allocations: 16 kB / 0.7168 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/0.7291, allocations: 4 kB / 0.7168 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.7291, allocations: 7.984 kB / 0.7168 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.7445, allocations: 7.431 MB / 0.7241 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.7446, allocations: 0 / 0.7241 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.7458, allocations: 231.6 kB / 0.7243 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.7481, allocations: 0.8124 MB / 0.7251 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/0.7483, allocations: 24 kB / 0.7251 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3137/1.062, allocations: 6.316 MB / 0.7313 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.062, allocations: 1.875 kB / 0.7313 GB, free: 156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009861/1.072, allocations: 5.826 MB / 0.737 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.073, allocations: 298 kB / 0.7373 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003264/1.073, allocations: 23.72 kB / 0.7373 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.074, allocations: 99.53 kB / 0.7374 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.075, allocations: 88.58 kB / 0.7375 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.075, allocations: 47.75 kB / 0.7375 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002984/1.078, allocations: 2.198 MB / 0.7397 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.078, allocations: 0 / 0.7397 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004166/1.082, allocations: 0.8621 MB / 0.7405 GB, free: 153.5 MB / 0.5606 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.00726/1.089, allocations: 6.464 MB / 0.7468 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00616/1.095, allocations: 4.7 MB / 0.7514 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.095, allocations: 4 kB / 0.7514 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002234/1.098, allocations: 1.661 MB / 0.753 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.1, allocations: 386.2 kB / 0.7534 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05181/1.152, allocations: 40.88 MB / 0.7933 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002542/1.154, allocations: 2.33 MB / 0.7956 GB, free: 98.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003335/1.158, allocations: 1.72 MB / 0.7973 GB, free: 96.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.159, allocations: 1.554 MB / 0.7988 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/1.159, allocations: 0 / 0.7988 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/1.266, allocations: 63.26 MB / 0.8606 GB, free: 32.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.51, allocations: 7.844 kB / 0.8606 GB, free: 32.38 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.804498486686498]