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.0007282/0.0007282, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002946/0.002946, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8471/0.8471, allocations: 177.1 MB / 205 MB, free: 5.73 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.2178/0.2178, allocations: 34.25 MB / 295.7 MB, free: 0.6836 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: 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.1.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.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.954e-05, allocations: 2.281 kB / 443.4 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.1827/0.1827, allocations: 8.369 MB / 451.8 MB, free: 39.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.1882, allocations: 3.615 MB / 455.4 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.1893, allocations: 62.16 kB / 455.5 MB, free: 37.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.1913, allocations: 2.351 MB / 457.8 MB, free: 36.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.1936, allocations: 1.686 MB / 459.5 MB, free: 35.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.1946, allocations: 0.7616 MB / 460.3 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003133/0.1977, allocations: 4.202 MB / 464.5 MB, free: 33.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.2001, allocations: 2.569 MB / 467.1 MB, free: 32.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.202, allocations: 1.977 MB / 469 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.2035, allocations: 1.856 MB / 470.9 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003623/0.2039, allocations: 286.8 kB / 471.2 MB, free: 31.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.205, allocations: 1.112 MB / 472.3 MB, free: 31.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007596/0.2057, allocations: 1.689 MB / 474 MB, free: 30.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.2066, allocations: 1.059 MB / 475 MB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004173/0.2107, allocations: 6.303 MB / 481.3 MB, free: 27.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2107, allocations: 1 kB / 481.3 MB, free: 27.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2107, allocations: 0 / 481.3 MB, free: 27.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.174e-05/0.2108, allocations: 0 / 481.3 MB, free: 27.67 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.00552/0.2163, allocations: 4.197 MB / 485.5 MB, free: 25.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2164, allocations: 9.516 kB / 485.5 MB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/0.2209, allocations: 2.076 MB / 487.6 MB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00298/0.2239, allocations: 2.263 MB / 489.9 MB, free: 23.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.224, allocations: 195.3 kB / 490.1 MB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003522/0.2244, allocations: 258.2 kB / 490.3 MB, free: 23.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009063/0.2334, allocations: 8.615 MB / 498.9 MB, free: 19.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.591e-05/0.2335, allocations: 40.92 kB / 499 MB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.2337, allocations: 122.1 kB / 499.1 MB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.2357, allocations: 1.747 MB / 0.4891 GB, free: 19.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008008/0.2438, allocations: 7.539 MB / 0.4965 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02064/0.2644, allocations: 32.18 MB / 0.5279 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.268, allocations: 2.587 MB / 0.5304 GB, free: 11.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.2694, allocations: 1.77 MB / 0.5321 GB, free: 9.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.2695, allocations: 100.4 kB / 0.5322 GB, free: 9.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.2696, allocations: 43.22 kB / 0.5323 GB, free: 9.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=135): time 3.527e-06/0.2696, allocations: 0 / 0.5323 GB, free: 9.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.02153/0.2911, allocations: 15.68 MB / 0.5476 GB, free: 9.613 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.2912, allocations: 179.2 kB / 0.5478 GB, free: 9.402 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.2941, allocations: 3.353 MB / 0.551 GB, free: 6.031 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.522e-05/0.2941, allocations: 45.7 kB / 0.5511 GB, free: 5.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001114/0.2953, allocations: 2.751 MB / 0.5538 GB, free: 3.207 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.2957, allocations: 0.6241 MB / 0.5544 GB, free: 2.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009475/0.2966, allocations: 1.088 MB / 0.5554 GB, free: 1.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.2967, allocations: 301.1 kB / 0.5557 GB, free: 1.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.2986, allocations: 2.119 MB / 0.5578 GB, free: 15.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.302, allocations: 5.362 MB / 0.563 GB, free: 8.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005821/0.3078, allocations: 8.036 MB / 0.5709 GB, free: 14.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.491e-05/0.3078, allocations: 32.88 kB / 0.5709 GB, free: 14.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.0087/0.3165, allocations: 8.264 MB / 0.579 GB, free: 6.145 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.3166, allocations: 59.28 kB / 0.579 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-05/0.3166, allocations: 112 kB / 0.5791 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.3183, allocations: 1.224 MB / 0.5803 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.3202, allocations: 1.216 MB / 0.5815 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.3264, allocations: 7.415 MB / 0.5888 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.3286, allocations: 351.5 kB / 0.5891 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.3289, allocations: 324 kB / 0.5894 GB, free: 11.36 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 (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.001954/0.3309, allocations: 1.848 MB / 0.5912 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.3312, allocations: 282.1 kB / 0.5915 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/0.3348, allocations: 3.526 MB / 0.5949 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3349, allocations: 20 kB / 0.5949 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3349, allocations: 4 kB / 0.595 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3349, allocations: 4.266 kB / 0.595 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/0.3428, allocations: 7.257 MB / 0.602 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3428, allocations: 0 / 0.602 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.3434, allocations: 239.6 kB / 0.6023 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.3449, allocations: 1.055 MB / 0.6033 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/0.345, allocations: 31.94 kB / 0.6033 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.3508, allocations: 7.108 MB / 0.6103 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3508, allocations: 0 / 0.6103 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.3565, allocations: 6.247 MB / 0.6164 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.357, allocations: 274 kB / 0.6166 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.3572, allocations: 24 kB / 0.6167 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/0.3579, allocations: 135.8 kB / 0.6168 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.3581, allocations: 88.77 kB / 0.6169 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.3581, allocations: 43.98 kB / 0.6169 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001972/0.3601, allocations: 1.943 MB / 0.6188 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3601, allocations: 3.938 kB / 0.6188 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002966/0.3631, allocations: 0.9686 MB / 0.6198 GB, free: 12.05 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.0004133/0.3635, allocations: 163.9 kB / 0.6199 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004878/0.3684, allocations: 4.946 MB / 0.6247 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3684, allocations: 0 / 0.6247 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.3701, allocations: 1.741 MB / 0.6264 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3713, allocations: 330.2 kB / 0.6268 GB, free: 4.895 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1721/0.5434, allocations: 8.713 MB / 0.6353 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.5451, allocations: 2.327 MB / 0.6375 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000825/0.5459, allocations: 238.8 kB / 0.6378 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/0.5459, allocations: 2.297 kB / 0.6378 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.06315/0.6091, allocations: 68.32 MB / 0.7045 GB, free: 120.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] 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: 7.681486937217414]