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.0009811/0.0009811, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001047/0.001047, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9271/0.9271, allocations: 177.1 MB / 205 MB, free: 5.602 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.2818/0.2818, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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.242e-06/1.242e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.324e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.00702/0.007033, allocations: 9.207 MB / 387.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.01243, allocations: 3.749 MB / 391 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.01312, allocations: 63.69 kB / 391.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.01576, allocations: 2.457 MB / 393.5 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.01817, allocations: 1.703 MB / 395.2 MB, free: 1.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01917, allocations: 0.7639 MB / 396 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003523/0.0227, allocations: 4.203 MB / 400.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.02475, allocations: 2.644 MB / 402.8 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.02686, allocations: 2.503 MB / 405.3 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.02852, allocations: 1.867 MB / 407.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.02878, allocations: 284 kB / 407.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.02991, allocations: 1.1 MB / 408.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008578/0.03077, allocations: 1.702 MB / 410.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.03148, allocations: 1.063 MB / 411.4 MB, free: 1.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.03457, allocations: 4.076 MB / 415.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.03457, allocations: 4 kB / 415.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.03457, allocations: 0 / 415.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.845e-05/0.0346, allocations: 0 / 415.4 MB, free: 13.07 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.004413/0.03902, allocations: 4.571 MB / 420 MB, free: 8.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.03905, allocations: 8.031 kB / 420 MB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.04421, allocations: 2.374 MB / 422.4 MB, free: 6.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.04633, allocations: 2.02 MB / 424.4 MB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.81e-05/0.04643, allocations: 185.3 kB / 424.6 MB, free: 3.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.04671, allocations: 268.1 kB / 424.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00556/0.05227, allocations: 5.119 MB / 430 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.527e-05/0.05234, allocations: 43.62 kB / 430 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.05255, allocations: 127.8 kB / 430.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001295/0.05384, allocations: 1.626 MB / 431.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/0.05804, allocations: 2.618 MB / 434.4 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1792/0.2373, allocations: 37.4 MB / 471.8 MB, free: 61.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.2399, allocations: 1.271 MB / 473 MB, free: 61.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.2403, allocations: 374.4 kB / 473.4 MB, free: 60.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002757/0.2431, allocations: 2.857 MB / 476.3 MB, free: 60 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2431, allocations: 50.98 kB / 476.3 MB, free: 59.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 4.097e-06/0.2431, allocations: 0.5 kB / 476.3 MB, free: 59.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01124/0.2544, allocations: 7.266 MB / 483.6 MB, free: 57.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.2544, allocations: 168.9 kB / 483.8 MB, free: 57.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/0.2568, allocations: 3.13 MB / 486.9 MB, free: 56.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.2569, allocations: 41.89 kB / 486.9 MB, free: 56.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.2579, allocations: 3.018 MB / 489.9 MB, free: 53.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.2582, allocations: 489.1 kB / 490.4 MB, free: 53.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007588/0.259, allocations: 1.147 MB / 491.6 MB, free: 52.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.44e-05/0.259, allocations: 481 kB / 492 MB, free: 52.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.2597, allocations: 0.5279 MB / 492.6 MB, free: 52.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.2618, allocations: 5.576 MB / 498.1 MB, free: 45.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.265, allocations: 6.68 MB / 0.493 GB, free: 38.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-05/0.2651, allocations: 36.53 kB / 0.493 GB, free: 38.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006012/0.2711, allocations: 4.725 MB / 0.4976 GB, free: 36.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.2711, allocations: 56.25 kB / 0.4977 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/0.2713, allocations: 125.2 kB / 0.4978 GB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.2723, allocations: 450.2 kB / 0.4982 GB, free: 36.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.2745, allocations: 1.186 MB / 0.4994 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.2769, allocations: 2.847 MB / 0.5022 GB, free: 33.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002184/0.279, allocations: 309.8 kB / 0.5025 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.2793, allocations: 329.2 kB / 0.5028 GB, free: 33.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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.0009596/0.2803, allocations: 0.5871 MB / 0.5034 GB, free: 33.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.2806, allocations: 298.6 kB / 0.5036 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.282, allocations: 0.8967 MB / 0.5045 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.282, allocations: 13.09 kB / 0.5045 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.282, allocations: 3.031 kB / 0.5045 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.282, allocations: 7.75 kB / 0.5045 GB, free: 32.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.2871, allocations: 3.712 MB / 0.5082 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2871, allocations: 2.156 kB / 0.5082 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.2874, allocations: 141.5 kB / 0.5083 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006857/0.2881, allocations: 271.8 kB / 0.5086 GB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.2881, allocations: 19.84 kB / 0.5086 GB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.2898, allocations: 2.589 MB / 0.5111 GB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2898, allocations: 11.84 kB / 0.5111 GB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.2916, allocations: 1.84 MB / 0.5129 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.2918, allocations: 262.7 kB / 0.5132 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.292, allocations: 23.5 kB / 0.5132 GB, free: 27.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/0.2925, allocations: 77.44 kB / 0.5133 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.2926, allocations: 55.53 kB / 0.5133 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.2927, allocations: 36.62 kB / 0.5134 GB, free: 27.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.2941, allocations: 1.33 MB / 0.5147 GB, free: 27.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2941, allocations: 0 / 0.5147 GB, free: 27.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002622/0.2968, allocations: 0.8424 MB / 0.5155 GB, free: 27.22 MB / 410.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 (74): * Single equations (assignments): 70 * 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.0003025/0.2971, allocations: 162.1 kB / 0.5156 GB, free: 27.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002815/0.2999, allocations: 2.483 MB / 0.5181 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2999, allocations: 0 / 0.5181 GB, free: 26.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.3004, allocations: 0.5516 MB / 0.5186 GB, free: 25.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009948/0.3014, allocations: 332.9 kB / 0.5189 GB, free: 25.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.3075, allocations: 6.052 MB / 0.5248 GB, free: 20.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.3084, allocations: 1.03 MB / 0.5258 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001802/0.3102, allocations: 1.363 MB / 0.5272 GB, free: 19.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.3105, allocations: 187.2 kB / 0.5273 GB, free: 18.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3105, allocations: 0 / 0.5273 GB, free: 18.92 MB / 410.7 MB Notification: Performance of Templates: time 0.03014/0.3406, allocations: 22.83 MB / 0.5496 GB, free: 15.04 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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","",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.061885779257864]