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.001388/0.001388, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001298/0.001298, allocations: 169 kB / 24.14 MB, free: 364 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.9347/0.9347, allocations: 158.6 MB / 186 MB, free: 2.773 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.1578/0.1578, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.683e-06/1.683e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.193e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2003/0.2004, allocations: 9.704 MB / 308.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.2075, allocations: 3.942 MB / 312.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009937/0.2084, allocations: 66.75 kB / 312.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.2113, allocations: 2.49 MB / 315.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.2142, allocations: 1.858 MB / 317.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.2154, allocations: 0.7837 MB / 317.9 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.2195, allocations: 4.174 MB / 322.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.2219, allocations: 2.841 MB / 324.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.2242, allocations: 2.448 MB / 327.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.2259, allocations: 1.929 MB / 329.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005744/0.2265, allocations: 312 kB / 329.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.228, allocations: 1.123 MB / 330.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.2293, allocations: 1.843 MB / 332.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2308, allocations: 1.153 MB / 333.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004948/0.2358, allocations: 4.414 MB / 338.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2358, allocations: 4 kB / 338.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2358, allocations: 0 / 338.2 MB, free: 7.039 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.236, allocations: 7.938 kB / 338.2 MB, free: 7.031 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.005609/0.2416, allocations: 4.126 MB / 342.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2416, allocations: 8.031 kB / 342.3 MB, free: 2.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002586/0.2442, allocations: 1.05 MB / 343.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.2462, allocations: 1.735 MB / 345.1 MB, free: 0 / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.2463, allocations: 209.7 kB / 345.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.2466, allocations: 276.2 kB / 345.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004495/0.2511, allocations: 4.462 MB / 350 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/0.2512, allocations: 39.7 kB / 350.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.2514, allocations: 135.9 kB / 350.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.2527, allocations: 1.646 MB / 351.8 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.2557, allocations: 2.25 MB / 354.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.2749, allocations: 28.23 MB / 382.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.2774, allocations: 1.235 MB / 383.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.2777, allocations: 273.5 kB / 383.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00299/0.2807, allocations: 2.703 MB / 386.5 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.2808, allocations: 43.16 kB / 386.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of pre-optimization done (n=120): time 2.455e-06/0.2808, allocations: 0 / 386.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.008257/0.289, allocations: 3.809 MB / 390.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.2891, allocations: 170.8 kB / 390.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.291, allocations: 2.882 MB / 393.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.2911, allocations: 41.7 kB / 393.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.2922, allocations: 2.883 MB / 396.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.2925, allocations: 0.5234 MB / 396.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008555/0.2933, allocations: 1.06 MB / 397.9 MB, free: 9.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2934, allocations: 309 kB / 398.2 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009377/0.2944, allocations: 0.6745 MB / 398.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/0.297, allocations: 4.098 MB / 403 MB, free: 2.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/0.3009, allocations: 5.229 MB / 408.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-05/0.3009, allocations: 36 kB / 408.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.004027/0.3049, allocations: 3.858 MB / 412.1 MB, free: 7.398 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.305, allocations: 66.33 kB / 412.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.866e-05/0.305, allocations: 128.1 kB / 412.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.3057, allocations: 347.8 kB / 412.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.3075, allocations: 1.22 MB / 413.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.3094, allocations: 2.157 MB / 416 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.311, allocations: 247.7 kB / 416.3 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.3112, allocations: 296 kB / 416.6 MB, free: 2.859 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.0009761/0.3122, allocations: 0.5743 MB / 417.1 MB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.3124, allocations: 179.8 kB / 417.3 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.3135, allocations: 0.769 MB / 418.1 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.3135, allocations: 16 kB / 418.1 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3135, allocations: 4 kB / 418.1 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3135, allocations: 7.922 kB / 418.1 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004052/0.3176, allocations: 3.283 MB / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3176, allocations: 4 kB / 421.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.318, allocations: 147.8 kB / 421.5 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007032/0.3187, allocations: 344.6 kB / 421.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.3187, allocations: 20 kB / 421.9 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.3204, allocations: 1.901 MB / 423.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3204, allocations: 11.92 kB / 423.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.322, allocations: 1.536 MB / 425.3 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.3224, allocations: 369.8 kB / 425.7 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.3226, allocations: 20 kB / 425.7 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.3231, allocations: 23.98 kB / 425.7 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3232, allocations: 76.48 kB / 425.8 MB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.3232, allocations: 35.94 kB / 425.9 MB, free: 9.312 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008561/0.3241, allocations: 1.031 MB / 426.9 MB, free: 8.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3241, allocations: 0 / 426.9 MB, free: 8.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002469/0.3265, allocations: 0.9335 MB / 427.8 MB, free: 7.348 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.0003112/0.3269, allocations: 151.3 kB / 428 MB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.3293, allocations: 2.254 MB / 430.2 MB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001556/0.3295, allocations: 92.16 kB / 430.3 MB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.33, allocations: 470.6 kB / 430.8 MB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.3312, allocations: 0.5078 MB / 431.3 MB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.3383, allocations: 6.497 MB / 437.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/0.3392, allocations: 1.107 MB / 438.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009455/0.3401, allocations: 435.8 kB / 439.3 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/0.3409, allocations: 465.2 kB / 439.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3409, allocations: 0 / 439.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of Templates: time 0.04668/0.3876, allocations: 26.21 MB / 466 MB, free: 1.121 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 -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.225047920830548]