Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.933/0.933, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2522/0.2522, allocations: 34.24 MB / 294.8 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.815e-05, allocations: 6.219 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1703/0.1703, allocations: 8.367 MB / 450.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004964/0.1753, allocations: 3.614 MB / 454.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1763, allocations: 64.62 kB / 454.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.1785, allocations: 2.336 MB / 456.5 MB, free: 36.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.1812, allocations: 1.711 MB / 458.3 MB, free: 35.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.1823, allocations: 0.7487 MB / 459 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.1857, allocations: 4.199 MB / 463.2 MB, free: 33.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.1877, allocations: 2.572 MB / 465.8 MB, free: 32.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.1895, allocations: 1.971 MB / 467.8 MB, free: 31.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.1909, allocations: 1.863 MB / 469.6 MB, free: 31.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002628/0.1912, allocations: 288.3 kB / 469.9 MB, free: 31.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.1924, allocations: 1.103 MB / 471 MB, free: 31.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008132/0.1932, allocations: 1.701 MB / 472.7 MB, free: 30.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.194, allocations: 1.082 MB / 473.8 MB, free: 29.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.1988, allocations: 6.371 MB / 480.2 MB, free: 27.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1988, allocations: 4 kB / 480.2 MB, free: 27.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1989, allocations: 1.312 kB / 480.2 MB, free: 27.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001872/0.199, allocations: 0 / 480.2 MB, free: 27.56 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.007959/0.207, allocations: 4.3 MB / 484.5 MB, free: 25.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.207, allocations: 9.844 kB / 484.5 MB, free: 25.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008373/0.2079, allocations: 0.6104 MB / 485.1 MB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.2198, allocations: 3.976 MB / 489.1 MB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.2247, allocations: 2.303 MB / 491.4 MB, free: 23.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.2248, allocations: 193.7 kB / 491.5 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008214/0.2256, allocations: 258.7 kB / 491.8 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.2386, allocations: 8.544 MB / 0.4886 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/0.2387, allocations: 44.02 kB / 0.4887 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/0.2392, allocations: 121.5 kB / 0.4888 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002018/0.2412, allocations: 1.743 MB / 0.4905 GB, free: 17.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.2515, allocations: 7.417 MB / 0.4977 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0307/0.2822, allocations: 32.68 MB / 0.5296 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.2864, allocations: 2.536 MB / 0.5321 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.2882, allocations: 1.7 MB / 0.5338 GB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.2884, allocations: 92.53 kB / 0.5339 GB, free: 6.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2884, allocations: 47.22 kB / 0.5339 GB, free: 6.527 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 5.67e-06/0.2884, allocations: 3.938 kB / 0.5339 GB, free: 6.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02401/0.3124, allocations: 14.69 MB / 0.5483 GB, free: 7.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.3125, allocations: 175.2 kB / 0.5484 GB, free: 7.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/0.3177, allocations: 3.895 MB / 0.5522 GB, free: 3.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004102/0.3181, allocations: 49.69 kB / 0.5523 GB, free: 3.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.32, allocations: 2.734 MB / 0.5549 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007064/0.3207, allocations: 0.6241 MB / 0.5555 GB, free: 240 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/0.3219, allocations: 1.048 MB / 0.5566 GB, free: 15.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.3219, allocations: 321 kB / 0.5569 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.3242, allocations: 2.009 MB / 0.5588 GB, free: 12.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/0.328, allocations: 5.247 MB / 0.564 GB, free: 5.973 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/0.3348, allocations: 7.852 MB / 0.5716 GB, free: 12.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.767e-05/0.3348, allocations: 32 kB / 0.5717 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01063/0.3455, allocations: 7.797 MB / 0.5793 GB, free: 4.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.3455, allocations: 52 kB / 0.5793 GB, free: 4.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.493e-05/0.3456, allocations: 116 kB / 0.5794 GB, free: 4.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.347, allocations: 0.9703 MB / 0.5804 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/0.3493, allocations: 1.185 MB / 0.5815 GB, free: 2.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.3555, allocations: 6.789 MB / 0.5882 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/0.3585, allocations: 327.5 kB / 0.5885 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004813/0.3589, allocations: 328 kB / 0.5888 GB, free: 10.82 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.002399/0.3613, allocations: 1.841 MB / 0.5906 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/0.3618, allocations: 317.9 kB / 0.5909 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/0.3658, allocations: 3.19 MB / 0.594 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.3658, allocations: 19.98 kB / 0.594 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.3658, allocations: 12 kB / 0.594 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3658, allocations: 15.91 kB / 0.5941 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.3758, allocations: 7.51 MB / 0.6014 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.3758, allocations: 0 / 0.6014 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.3765, allocations: 227.6 kB / 0.6016 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.3777, allocations: 0.8068 MB / 0.6024 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.3778, allocations: 27.98 kB / 0.6024 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005771/0.3835, allocations: 6.382 MB / 0.6087 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3835, allocations: 4 kB / 0.6087 GB, free: 6.285 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.3893, allocations: 5.822 MB / 0.6143 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.3905, allocations: 325.8 kB / 0.6147 GB, free: 124 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.3908, allocations: 20.28 kB / 0.6147 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/0.3916, allocations: 127.9 kB / 0.6148 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.3918, allocations: 88.83 kB / 0.6149 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.3919, allocations: 47.78 kB / 0.6149 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00294/0.3948, allocations: 2.349 MB / 0.6172 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.3948, allocations: 3.938 kB / 0.6172 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003284/0.3981, allocations: 0.9608 MB / 0.6182 GB, free: 12.54 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.00645/0.4046, allocations: 6.472 MB / 0.6245 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005992/0.4106, allocations: 4.693 MB / 0.6291 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4106, allocations: 4 kB / 0.6291 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.1835/0.5941, allocations: 1.65 MB / 0.6307 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/0.5964, allocations: 402.1 kB / 0.6311 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04238/0.6388, allocations: 41.25 MB / 0.6713 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002658/0.6414, allocations: 2.333 MB / 0.6736 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003018/0.6445, allocations: 1.716 MB / 0.6753 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/0.6462, allocations: 1.563 MB / 0.6768 GB, free: 130 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/0.6462, allocations: 0 / 0.6768 GB, free: 130 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/0.7281, allocations: 64.83 MB / 0.7401 GB, free: 79.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.61/10.34, allocations: 0 / 0.7401 GB, free: 79.87 MB / 0.5261 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 12.54046228993684]