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.001203/0.001203, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00128/0.00128, allocations: 166.2 kB / 24.99 MB, free: 8.355 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.976/0.976, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2583/0.2583, allocations: 32.81 MB / 294.6 MB, free: 1.301 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: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.748e-05, allocations: 6.25 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.02039/0.02041, allocations: 9.176 MB / 385.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006261/0.02667, allocations: 3.738 MB / 388.9 MB, free: 8.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.02752, allocations: 63.69 kB / 389 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.03028, allocations: 2.445 MB / 391.4 MB, free: 5.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.03285, allocations: 1.703 MB / 393.1 MB, free: 3.793 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.03398, allocations: 0.7639 MB / 393.9 MB, free: 3.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.03803, allocations: 4.207 MB / 398.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003029/0.04106, allocations: 2.64 MB / 400.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.04356, allocations: 1.988 MB / 402.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001989/0.04555, allocations: 1.906 MB / 404.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.04592, allocations: 284 kB / 404.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.04736, allocations: 1.116 MB / 406 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009243/0.04828, allocations: 1.699 MB / 407.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007396/0.04902, allocations: 1.071 MB / 408.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.05233, allocations: 4.095 MB / 412.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.05233, allocations: 0 / 412.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05233, allocations: 0 / 412.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.05236, allocations: 0 / 412.9 MB, free: 15.94 MB / 394.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.004534/0.05689, allocations: 4.524 MB / 417.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.05693, allocations: 8.031 kB / 417.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.06158, allocations: 2.413 MB / 419.8 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.06412, allocations: 2.082 MB / 421.9 MB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.06422, allocations: 193.3 kB / 422.1 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.06452, allocations: 260.2 kB / 422.4 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005395/0.06991, allocations: 5.139 MB / 427.5 MB, free: 392 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-05/0.06997, allocations: 35.7 kB / 427.5 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.0702, allocations: 127.9 kB / 427.7 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001686/0.07189, allocations: 1.743 MB / 429.4 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.07644, allocations: 2.819 MB / 432.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/0.2566, allocations: 37.28 MB / 469.5 MB, free: 70.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/0.2617, allocations: 1.401 MB / 470.9 MB, free: 69.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.2627, allocations: 0.5523 MB / 471.5 MB, free: 69.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.263, allocations: 98.92 kB / 471.6 MB, free: 69.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.263, allocations: 48.64 kB / 471.6 MB, free: 69.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 4.188e-06/0.263, allocations: 0 / 471.6 MB, free: 69.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.02651/0.2895, allocations: 10.62 MB / 482.2 MB, free: 66.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.2896, allocations: 174.9 kB / 482.4 MB, free: 66.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/0.2924, allocations: 2.992 MB / 485.4 MB, free: 65.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.2925, allocations: 47.52 kB / 485.4 MB, free: 65.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.2937, allocations: 2.905 MB / 488.3 MB, free: 62.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000487/0.2942, allocations: 0.6626 MB / 489 MB, free: 62.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009491/0.2951, allocations: 1.177 MB / 490.2 MB, free: 61.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.2952, allocations: 484.6 kB / 490.7 MB, free: 61.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.2962, allocations: 0.6452 MB / 491.3 MB, free: 61.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.2987, allocations: 5.447 MB / 496.7 MB, free: 54.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/0.3035, allocations: 6.687 MB / 0.4916 GB, free: 47.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.966e-05/0.3036, allocations: 32.66 kB / 0.4917 GB, free: 47.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.007918/0.3115, allocations: 5.259 MB / 0.4968 GB, free: 45.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/0.3116, allocations: 53.31 kB / 0.4968 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.3117, allocations: 120.4 kB / 0.497 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.3135, allocations: 0.791 MB / 0.4977 GB, free: 45.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.3159, allocations: 1.214 MB / 0.4989 GB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.3197, allocations: 3.896 MB / 0.5027 GB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.3219, allocations: 345.1 kB / 0.5031 GB, free: 42.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.3222, allocations: 326.9 kB / 0.5034 GB, free: 42.55 MB / 410.7 MB 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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.3232, allocations: 0.5819 MB / 0.5039 GB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.3235, allocations: 333.7 kB / 0.5043 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.3262, allocations: 1.752 MB / 0.506 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.3262, allocations: 19.84 kB / 0.506 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.3262, allocations: 5.844 kB / 0.506 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.3262, allocations: 14.2 kB / 0.506 GB, free: 41.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/0.3339, allocations: 5.176 MB / 0.5111 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3339, allocations: 5.969 kB / 0.5111 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.3347, allocations: 229.9 kB / 0.5113 GB, free: 39.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.3367, allocations: 0.6315 MB / 0.5119 GB, free: 38.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.3368, allocations: 25.27 kB / 0.5119 GB, free: 38.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004313/0.3411, allocations: 3.656 MB / 0.5155 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3411, allocations: 0 / 0.5155 GB, free: 35.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004473/0.3455, allocations: 2.767 MB / 0.5182 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.3459, allocations: 281.2 kB / 0.5185 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002798/0.3462, allocations: 20 kB / 0.5185 GB, free: 32.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.3471, allocations: 129.8 kB / 0.5186 GB, free: 32.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.3474, allocations: 99.11 kB / 0.5187 GB, free: 32.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-05/0.3474, allocations: 40 kB / 0.5187 GB, free: 32.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001554/0.349, allocations: 1.28 MB / 0.52 GB, free: 31.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.349, allocations: 0 / 0.52 GB, free: 31.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003564/0.3526, allocations: 0.9744 MB / 0.5209 GB, free: 30.54 MB / 410.7 MB 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.0003389/0.3529, allocations: 170.3 kB / 0.5211 GB, free: 30.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.3571, allocations: 2.959 MB / 0.524 GB, free: 27.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3571, allocations: 0 / 0.524 GB, free: 27.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.3585, allocations: 1.017 MB / 0.525 GB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.3599, allocations: 336.2 kB / 0.5253 GB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008008/0.3679, allocations: 6.597 MB / 0.5317 GB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009449/0.3689, allocations: 1.067 MB / 0.5328 GB, free: 19.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00235/0.3712, allocations: 1.418 MB / 0.5342 GB, free: 18.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.3717, allocations: 208.4 kB / 0.5344 GB, free: 17.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3717, allocations: 0 / 0.5344 GB, free: 17.82 MB / 410.7 MB Notification: Performance of Templates: time 0.04296/0.4147, allocations: 31.92 MB / 0.5655 GB, free: 2.348 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.341610836097971]