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.0009838/0.0009838, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002502, allocations: 449.7 kB / 10.37 MB, free: 328 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.001046/0.001046, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004822/0.005869, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9986/0.9986, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0934/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2676/0.2676, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02357/0.2912, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.753e-06/1.753e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.463e-05, allocations: 4.562 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.008212/0.008237, allocations: 9.116 MB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006128/0.01436, allocations: 3.875 MB / 305.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.01552, allocations: 59.75 kB / 305.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.01791, allocations: 2.336 MB / 308 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.02068, allocations: 1.687 MB / 309.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.02173, allocations: 0.6977 MB / 310.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003445/0.02517, allocations: 3.944 MB / 314.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002557/0.02773, allocations: 2.453 MB / 316.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.03074, allocations: 2.401 MB / 319.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.03283, allocations: 1.777 MB / 321 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005687/0.0334, allocations: 284 kB / 321.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.0349, allocations: 1.139 MB / 322.4 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.03612, allocations: 1.527 MB / 323.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.0372, allocations: 0.8685 MB / 324.8 MB, free: 5.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003885/0.04108, allocations: 3.768 MB / 328.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.0411, allocations: 0 / 328.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.0411, allocations: 0 / 328.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001534/0.04126, allocations: 3.938 kB / 328.6 MB, free: 2.184 MB / 314.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.005695/0.04695, allocations: 4.663 MB / 333.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.04698, allocations: 16.03 kB / 333.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.04936, allocations: 0.9645 MB / 334.2 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.05133, allocations: 1.641 MB / 335.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.05149, allocations: 193.3 kB / 336 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.05178, allocations: 256.2 kB / 336.3 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003975/0.05575, allocations: 4.179 MB / 340.5 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/0.05581, allocations: 35.7 kB / 340.5 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.056, allocations: 123.9 kB / 340.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001135/0.05714, allocations: 1.489 MB / 342.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.06002, allocations: 2.094 MB / 344.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/0.07972, allocations: 26.77 MB / 371 MB, free: 5.977 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.08226, allocations: 1.133 MB / 372.1 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.08259, allocations: 260.1 kB / 372.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003131/0.08572, allocations: 2.479 MB / 374.8 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.08575, allocations: 42.94 kB / 374.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 2.926e-06/0.08575, allocations: 0 / 374.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.009213/0.09497, allocations: 3.817 MB / 378.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.09501, allocations: 137 kB / 378.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.09727, allocations: 2.783 MB / 381.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.382e-05/0.09737, allocations: 37.7 kB / 381.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001091/0.09846, allocations: 2.72 MB / 384.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.09877, allocations: 464.6 kB / 384.8 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007249/0.09949, allocations: 1.001 MB / 385.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.09983, allocations: 301.1 kB / 386.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008376/0.1007, allocations: 0.6344 MB / 386.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.1028, allocations: 3.921 MB / 390.7 MB, free: 324 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.1064, allocations: 4.967 MB / 395.6 MB, free: 9.645 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.617e-05/0.1065, allocations: 40 kB / 395.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004572/0.1111, allocations: 3.659 MB / 399.3 MB, free: 5.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.1111, allocations: 59.98 kB / 399.4 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.939e-05/0.1112, allocations: 120.9 kB / 399.5 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007489/0.112, allocations: 335.4 kB / 399.8 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.1138, allocations: 1.275 MB / 401.1 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.1157, allocations: 2.158 MB / 403.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.1178, allocations: 231.7 kB / 403.5 MB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.118, allocations: 288 kB / 403.8 MB, free: 1.387 MB / 394.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.0009052/0.1189, allocations: 0.5472 MB / 404.3 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/0.1195, allocations: 167.7 kB / 404.5 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000941/0.1204, allocations: 0.648 MB / 405.1 MB, free: 4 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.1204, allocations: 12.05 kB / 405.2 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1204, allocations: 4 kB / 405.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1205, allocations: 3.938 kB / 405.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/0.1243, allocations: 2.959 MB / 408.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1243, allocations: 4 kB / 408.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003429/0.1247, allocations: 132 kB / 408.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.125, allocations: 254 kB / 408.5 MB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007193/0.1257, allocations: 332.1 kB / 408.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.1258, allocations: 19.98 kB / 408.8 MB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.1273, allocations: 1.904 MB / 410.7 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1274, allocations: 4 kB / 410.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.1291, allocations: 1.398 MB / 412.1 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.1293, allocations: 16 kB / 412.2 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.1298, allocations: 16 kB / 412.2 MB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.1299, allocations: 64.33 kB / 412.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.1299, allocations: 27.92 kB / 412.3 MB, free: 8.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009969/0.1309, allocations: 0.989 MB / 413.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1309, allocations: 0 / 413.3 MB, free: 7.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003023/0.134, allocations: 0.8514 MB / 414.1 MB, free: 6.805 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.0003084/0.1343, allocations: 146.4 kB / 414.3 MB, free: 6.656 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.1367, allocations: 2.109 MB / 416.4 MB, free: 4.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001596/0.1369, allocations: 96.16 kB / 416.5 MB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.1374, allocations: 405.2 kB / 416.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.139, allocations: 0.6832 MB / 417.5 MB, free: 3.355 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.1492, allocations: 6.081 MB / 423.6 MB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008999/0.1501, allocations: 1.03 MB / 424.6 MB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.1512, allocations: 410.3 kB / 425 MB, free: 11.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.1518, allocations: 445.2 kB / 425.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.344e-06/0.1518, allocations: 4 kB / 425.5 MB, free: 11.29 MB / 426.7 MB Notification: Performance of Templates: time 0.1688/0.3206, allocations: 24.78 MB / 450.3 MB, free: 109.8 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 -ignoreHideResult -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: 3.8477967754006386]