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.0007907/0.0007907, 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.0008921/0.0008921, 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.9039/0.9039, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2535/0.2535, allocations: 34.25 MB / 294.9 MB, free: 0.7344 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.593e-06/1.593e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.17e-05, allocations: 5.234 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1834/0.1834, allocations: 8.368 MB / 450.6 MB, free: 39.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.1881, allocations: 3.624 MB / 454.2 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008276/0.189, allocations: 63.94 kB / 454.2 MB, free: 37.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.1911, allocations: 2.341 MB / 456.6 MB, free: 36.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/0.1937, allocations: 1.698 MB / 458.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1948, allocations: 0.7601 MB / 459 MB, free: 35.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.1981, allocations: 4.2 MB / 463.2 MB, free: 33.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.2001, allocations: 2.569 MB / 465.8 MB, free: 32.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.2021, allocations: 1.976 MB / 467.8 MB, free: 31.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.2043, allocations: 1.855 MB / 469.6 MB, free: 31.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006849/0.2049, allocations: 286.5 kB / 469.9 MB, free: 31.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2065, allocations: 1.107 MB / 471 MB, free: 31.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.2075, allocations: 1.696 MB / 472.7 MB, free: 30.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.2087, allocations: 1.088 MB / 473.8 MB, free: 29.8 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00436/0.213, allocations: 6.378 MB / 480.2 MB, free: 27.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.213, allocations: 0 / 480.2 MB, free: 27.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.213, allocations: 0 / 480.2 MB, free: 27.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001779/0.2132, allocations: 0 / 480.2 MB, free: 27.61 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.00865/0.2218, allocations: 4.306 MB / 484.5 MB, free: 25.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.2219, allocations: 9.406 kB / 484.5 MB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008744/0.2228, allocations: 0.6047 MB / 485.1 MB, free: 24.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/0.235, allocations: 3.976 MB / 489.1 MB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004665/0.2397, allocations: 2.3 MB / 491.4 MB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2398, allocations: 195.5 kB / 491.6 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/0.2404, allocations: 260.7 kB / 491.8 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.2552, allocations: 8.55 MB / 0.4887 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.2554, allocations: 40.36 kB / 0.4887 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.2559, allocations: 125.9 kB / 0.4888 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.2581, allocations: 1.746 MB / 0.4905 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.2687, allocations: 7.412 MB / 0.4978 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/0.2988, allocations: 32.68 MB / 0.5297 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.3031, allocations: 2.52 MB / 0.5321 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.3047, allocations: 1.708 MB / 0.5338 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.3049, allocations: 100.5 kB / 0.5339 GB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.305, allocations: 43.22 kB / 0.5339 GB, free: 6.652 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.938e-06/0.305, allocations: 4 kB / 0.5339 GB, free: 6.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02421/0.3292, allocations: 14.7 MB / 0.5483 GB, free: 7.906 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.701e-05/0.3293, allocations: 175.2 kB / 0.5485 GB, free: 7.699 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/0.3336, allocations: 3.883 MB / 0.5522 GB, free: 3.812 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.334, allocations: 49.7 kB / 0.5523 GB, free: 3.758 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.3354, allocations: 2.734 MB / 0.555 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006468/0.3361, allocations: 0.6281 MB / 0.5556 GB, free: 372 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.3372, allocations: 1.056 MB / 0.5566 GB, free: 15.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.3373, allocations: 305.1 kB / 0.5569 GB, free: 15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002107/0.3394, allocations: 2.013 MB / 0.5589 GB, free: 12.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/0.3434, allocations: 5.251 MB / 0.564 GB, free: 6.105 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007391/0.3508, allocations: 7.844 MB / 0.5717 GB, free: 12.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/0.3509, allocations: 32 kB / 0.5717 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01014/0.3611, allocations: 7.805 MB / 0.5793 GB, free: 4.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.3611, allocations: 52 kB / 0.5794 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.3612, allocations: 112 kB / 0.5795 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.3627, allocations: 0.9706 MB / 0.5804 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.3651, allocations: 1.181 MB / 0.5816 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.3714, allocations: 6.798 MB / 0.5882 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/0.3748, allocations: 339.4 kB / 0.5885 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006401/0.3754, allocations: 320 kB / 0.5888 GB, free: 10.95 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.002509/0.3779, allocations: 1.848 MB / 0.5906 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006391/0.3786, allocations: 322 kB / 0.5909 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/0.3825, allocations: 3.19 MB / 0.5941 GB, free: 5.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.3825, allocations: 16 kB / 0.5941 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.3825, allocations: 8 kB / 0.5941 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3825, allocations: 7.984 kB / 0.5941 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.393, allocations: 7.498 MB / 0.6014 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.393, allocations: 4 kB / 0.6014 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.3936, allocations: 227.6 kB / 0.6016 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.3949, allocations: 0.8094 MB / 0.6024 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.3951, allocations: 27.98 kB / 0.6025 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/0.4015, allocations: 6.389 MB / 0.6087 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4015, allocations: 4 kB / 0.6087 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/0.4082, allocations: 5.82 MB / 0.6144 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009897/0.4092, allocations: 321.7 kB / 0.6147 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.4095, allocations: 24 kB / 0.6147 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008199/0.4103, allocations: 124.1 kB / 0.6148 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.4105, allocations: 92.75 kB / 0.6149 GB, free: 12 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.4106, allocations: 43.98 kB / 0.615 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003077/0.4137, allocations: 2.349 MB / 0.6173 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4137, allocations: 0 / 0.6173 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003931/0.4176, allocations: 0.9608 MB / 0.6182 GB, free: 12.67 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.006781/0.4244, allocations: 6.478 MB / 0.6245 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006221/0.4306, allocations: 4.693 MB / 0.6291 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.4306, allocations: 4 kB / 0.6291 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.175/0.6056, 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.002988/0.6086, allocations: 388.7 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.04362/0.6522, allocations: 41.25 MB / 0.6714 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.6544, allocations: 2.336 MB / 0.6736 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002713/0.6571, allocations: 1.72 MB / 0.6753 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.6586, allocations: 1.559 MB / 0.6768 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/0.6586, allocations: 0 / 0.6768 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07874/0.7374, allocations: 64.83 MB / 0.7402 GB, free: 80.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.618/10.36, allocations: 4.062 kB / 0.7402 GB, free: 80.08 MB / 0.5261 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 12.632526757195592]