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.001017/0.001017, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001149/0.001149, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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.9529/0.9529, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.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.1347/0.1347, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 2.164e-06/2.164e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.14e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.158/0.158, allocations: 9.741 MB / 308.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008686/0.1667, allocations: 3.944 MB / 312.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.1688, allocations: 67.09 kB / 312.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1726, allocations: 2.454 MB / 315.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005111/0.1777, allocations: 1.828 MB / 317.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.1794, allocations: 0.766 MB / 317.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005828/0.1853, allocations: 4.174 MB / 322.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003243/0.1885, allocations: 2.726 MB / 324.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.1925, allocations: 2.409 MB / 327.2 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.1949, allocations: 1.925 MB / 329.2 MB, free: 36 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.1958, allocations: 308 kB / 329.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.198, allocations: 1.178 MB / 330.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002034/0.2, allocations: 1.851 MB / 332.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.2017, allocations: 1.149 MB / 333.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005697/0.2074, allocations: 4.418 MB / 338.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.2074, allocations: 0 / 338.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.2074, allocations: 0 / 338.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001523/0.2076, allocations: 3.938 kB / 338.1 MB, free: 7.109 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.006139/0.2137, allocations: 4.126 MB / 342.2 MB, free: 2.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2138, allocations: 8.031 kB / 342.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/0.2169, allocations: 1.047 MB / 343.2 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.2198, allocations: 1.739 MB / 345 MB, free: 76 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.2199, allocations: 205.6 kB / 345.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/0.2203, allocations: 280.2 kB / 345.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005908/0.2262, allocations: 4.469 MB / 349.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-05/0.2263, allocations: 31.7 kB / 350 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.2265, allocations: 135.9 kB / 350.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001402/0.228, allocations: 1.65 MB / 351.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004179/0.2321, allocations: 2.249 MB / 354 MB, free: 6.391 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02442/0.2565, allocations: 28.23 MB / 382.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/0.2594, allocations: 1.226 MB / 383.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.2598, allocations: 281.4 kB / 383.7 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004163/0.264, allocations: 2.703 MB / 386.4 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.264, allocations: 47.16 kB / 386.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 3.286e-06/0.264, allocations: 0 / 386.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.009814/0.2738, allocations: 3.828 MB / 390.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2739, allocations: 166.9 kB / 390.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.2766, allocations: 2.886 MB / 393.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/0.2767, allocations: 45.7 kB / 393.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/0.2781, allocations: 2.88 MB / 396.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000469/0.2786, allocations: 0.5234 MB / 396.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009464/0.2795, allocations: 1.056 MB / 397.8 MB, free: 9.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.2796, allocations: 305.1 kB / 398.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.2808, allocations: 0.6862 MB / 398.8 MB, free: 8.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002961/0.2837, allocations: 4.091 MB / 402.9 MB, free: 2.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/0.2883, allocations: 5.233 MB / 408.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/0.2884, allocations: 36 kB / 408.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.006651/0.295, allocations: 3.858 MB / 412 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.2951, allocations: 56 kB / 412.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/0.2952, allocations: 124 kB / 412.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/0.2961, allocations: 352 kB / 412.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.2986, allocations: 1.275 MB / 413.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.301, allocations: 2.165 MB / 416 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003326/0.3043, allocations: 243.8 kB / 416.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/0.3048, allocations: 300 kB / 416.5 MB, free: 2.852 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.002018/0.3068, allocations: 0.5703 MB / 417.1 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000672/0.3074, allocations: 175.8 kB / 417.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.3088, allocations: 0.769 MB / 418 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.3088, allocations: 19.98 kB / 418.1 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3088, allocations: 3.938 kB / 418.1 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3089, allocations: 11.92 kB / 418.1 MB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006618/0.3155, allocations: 3.275 MB / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.3155, allocations: 0 / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.316, allocations: 168 kB / 421.5 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.3168, allocations: 336.4 kB / 421.9 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.3169, allocations: 27.98 kB / 421.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.3188, allocations: 1.901 MB / 423.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3188, allocations: 7.828 kB / 423.8 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.321, allocations: 1.538 MB / 425.3 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/0.3219, allocations: 373.8 kB / 425.7 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.3221, allocations: 24 kB / 425.7 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.3226, allocations: 20 kB / 425.7 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3227, allocations: 80.39 kB / 425.8 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.3228, allocations: 24 kB / 425.8 MB, free: 9.309 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.3241, allocations: 1.031 MB / 426.9 MB, free: 8.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3241, allocations: 0 / 426.9 MB, free: 8.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003562/0.3276, allocations: 0.9374 MB / 427.8 MB, free: 7.34 MB / 394.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.000377/0.328, allocations: 148.1 kB / 427.9 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003497/0.3315, allocations: 2.254 MB / 430.2 MB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001619/0.3317, allocations: 92.16 kB / 430.3 MB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.3323, allocations: 473.8 kB / 430.8 MB, free: 4.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/0.3347, allocations: 0.5069 MB / 431.3 MB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.3464, allocations: 6.496 MB / 437.8 MB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.3477, allocations: 1.103 MB / 438.9 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001543/0.3492, allocations: 439.8 kB / 439.3 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/0.3501, allocations: 469.2 kB / 439.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.285e-06/0.3501, allocations: 0 / 439.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of Templates: time 0.05079/0.4009, allocations: 26.21 MB / 466 MB, free: 1.117 MB / 426.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -emit_protected -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.036947248969227]