Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001104/0.001104, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005211/0.006314, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001048/0.001048, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002475, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9454/0.9454, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1543/1.1, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1313/0.1313, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02015/0.1515, allocations: 12.32 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 267.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.226e-05, allocations: 2.312 kB / 267.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007589/0.007612, allocations: 9.803 MB / 277.2 MB, free: 8.676 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.01395, allocations: 3.987 MB / 281.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.01514, allocations: 63.69 kB / 281.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002489/0.01763, allocations: 2.367 MB / 283.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.02117, allocations: 1.816 MB / 285.4 MB, free: 424 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1403/0.1615, allocations: 0.7059 MB / 286.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005024/0.1665, allocations: 3.948 MB / 290.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.1698, allocations: 2.56 MB / 292.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.1731, allocations: 2.444 MB / 295.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.1755, allocations: 1.911 MB / 297 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004552/0.176, allocations: 310.9 kB / 297.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.1778, allocations: 1.171 MB / 298.5 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.1789, allocations: 1.655 MB / 300.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.18, allocations: 0.9485 MB / 301.1 MB, free: 332 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004002/0.184, allocations: 4.072 MB / 305.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.184, allocations: 0 / 305.2 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.184, allocations: 4.469 kB / 305.2 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.184, allocations: 0.6875 kB / 305.2 MB, free: 15.05 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.006133/0.1902, allocations: 4.969 MB / 310.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1902, allocations: 11.25 kB / 310.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.1938, allocations: 1.042 MB / 311.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.1965, allocations: 1.747 MB / 312.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.1966, allocations: 210.7 kB / 313.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.197, allocations: 280.2 kB / 313.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.2029, allocations: 4.45 MB / 317.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.092e-05/0.203, allocations: 44.67 kB / 317.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.2033, allocations: 133.3 kB / 318 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001791/0.2051, allocations: 1.55 MB / 319.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.2092, allocations: 2.256 MB / 321.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.2336, allocations: 28.22 MB / 350.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2362, allocations: 1.202 MB / 351.3 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2365, allocations: 288.8 kB / 351.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003327/0.2399, allocations: 2.681 MB / 354.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.2399, allocations: 43.22 kB / 354.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 3.947e-06/0.2399, allocations: 4 kB / 354.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.009593/0.2495, allocations: 3.792 MB / 358.1 MB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.2496, allocations: 137.2 kB / 358.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.252, allocations: 2.893 MB / 361.1 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.2521, allocations: 41.7 kB / 361.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.2536, allocations: 2.885 MB / 364 MB, free: 5.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.2539, allocations: 0.5245 MB / 364.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/0.2548, allocations: 1.063 MB / 365.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.2548, allocations: 305.1 kB / 365.9 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.2558, allocations: 0.6784 MB / 366.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002969/0.2588, allocations: 4.092 MB / 370.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004729/0.2635, allocations: 5.64 MB / 376.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.305e-05/0.2636, allocations: 40 kB / 376.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.004318/0.2679, allocations: 3.865 MB / 380.2 MB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.268, allocations: 56 kB / 380.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-05/0.2681, allocations: 132 kB / 380.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.2688, allocations: 347.7 kB / 380.7 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002227/0.271, allocations: 1.357 MB / 382.1 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.2727, allocations: 2.165 MB / 384.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.2746, allocations: 251.8 kB / 384.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.2748, allocations: 296 kB / 384.8 MB, free: 13.87 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 24 (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 (685): * Single equations (assignments): 681 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.2759, allocations: 0.5626 MB / 385.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/0.2761, allocations: 187.7 kB / 385.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.2772, allocations: 0.7651 MB / 386.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.2772, allocations: 12 kB / 386.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2772, allocations: 4 kB / 386.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2772, allocations: 3.984 kB / 386.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/0.2814, allocations: 3.275 MB / 389.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.2814, allocations: 8.188 kB / 389.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.2819, allocations: 171.8 kB / 389.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.2823, allocations: 373.8 kB / 390.2 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000688/0.283, allocations: 344.4 kB / 390.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.2831, allocations: 20 kB / 390.5 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.2845, allocations: 1.903 MB / 392.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2845, allocations: 4 kB / 392.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.286, allocations: 1.544 MB / 394 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.2862, allocations: 20 kB / 394 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.2867, allocations: 20 kB / 394 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2868, allocations: 80.38 kB / 394.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.2868, allocations: 28 kB / 394.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008333/0.2877, allocations: 1.027 MB / 395.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2877, allocations: 0 / 395.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002711/0.2904, allocations: 0.9335 MB / 396.1 MB, free: 2.363 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (95): * Single equations (assignments): 91 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002986/0.2907, allocations: 152.1 kB / 396.2 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.2931, allocations: 2.372 MB / 398.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001608/0.2932, allocations: 110.8 kB / 398.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.2938, allocations: 0.5249 MB / 399.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.296, allocations: 2.418 MB / 401.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.3068, allocations: 6.638 MB / 408.3 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/0.3078, allocations: 1.112 MB / 409.4 MB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3088, allocations: 427.9 kB / 409.8 MB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/0.3097, allocations: 457.2 kB / 410.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3097, allocations: 0 / 410.3 MB, free: 3.762 MB / 394.7 MB Notification: Performance of Templates: time 0.03833/0.3481, allocations: 25.09 MB / 435.3 MB, free: 10.64 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3830117397010326]