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.0009642/0.0009642, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.00099/0.00099, allocations: 165.2 kB / 24.84 MB, free: 9.293 MB / 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.9668/0.9668, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1384/0.1384, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.813e-06/1.813e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.688e-05, allocations: 2.312 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.009278/0.009305, allocations: 9.696 MB / 358.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00685/0.01615, allocations: 3.813 MB / 362.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.01791, allocations: 67.69 kB / 362.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.02116, allocations: 2.453 MB / 364.9 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.02525, allocations: 1.851 MB / 366.8 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.0267, allocations: 0.7717 MB / 367.6 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005149/0.03185, allocations: 4.174 MB / 371.7 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003303/0.03515, allocations: 2.777 MB / 374.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.03899, allocations: 2.464 MB / 377 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.04225, allocations: 2.007 MB / 379 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008271/0.04308, allocations: 311.9 kB / 379.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.04474, allocations: 1.147 MB / 380.4 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001426/0.04616, allocations: 1.843 MB / 382.3 MB, free: 7.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002172/0.04833, allocations: 1.153 MB / 383.4 MB, free: 6.477 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.05413, allocations: 4.422 MB / 387.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.05414, allocations: 0 / 387.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.05414, allocations: 0 / 387.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001929/0.05433, allocations: 0 / 387.9 MB, free: 2.039 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.0075/0.06183, allocations: 4.685 MB / 392.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.06187, allocations: 8.031 kB / 392.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.06603, allocations: 1.563 MB / 394.1 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/0.06885, allocations: 1.903 MB / 396 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.06899, allocations: 213.6 kB / 396.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/0.06935, allocations: 280.2 kB / 396.5 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006674/0.07603, allocations: 4.961 MB / 401.5 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.634e-05/0.07612, allocations: 39.69 kB / 401.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.07636, allocations: 131.9 kB / 401.6 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00147/0.07783, allocations: 1.646 MB / 403.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.08261, allocations: 2.22 MB / 405.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03145/0.1141, allocations: 39.01 MB / 444.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.117, allocations: 1.212 MB / 445.7 MB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.1174, allocations: 356.5 kB / 446.1 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004189/0.1216, allocations: 2.894 MB / 449 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1216, allocations: 57.92 kB / 449 MB, free: 2.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.709e-06/0.1217, allocations: 0 / 449 MB, free: 2.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.1851/0.3068, allocations: 4.22 MB / 453.2 MB, free: 99.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.3069, allocations: 167.2 kB / 453.4 MB, free: 98.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003524/0.3104, allocations: 3.23 MB / 456.6 MB, free: 98.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.3105, allocations: 41.33 kB / 456.7 MB, free: 98.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/0.3121, allocations: 3.21 MB / 459.9 MB, free: 96.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005737/0.3127, allocations: 0.5519 MB / 460.4 MB, free: 96.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.314, allocations: 1.229 MB / 461.7 MB, free: 96.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.3141, allocations: 487.1 kB / 462.1 MB, free: 95.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/0.315, allocations: 0.5114 MB / 462.6 MB, free: 95.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/0.3176, allocations: 5.798 MB / 468.4 MB, free: 88.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.3221, allocations: 6.873 MB / 475.3 MB, free: 81.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/0.3222, allocations: 39.09 kB / 475.4 MB, free: 81.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007033/0.3293, allocations: 4.535 MB / 479.9 MB, free: 80.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.3293, allocations: 58.91 kB / 480 MB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.3295, allocations: 126 kB / 480.1 MB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/0.3304, allocations: 355 kB / 480.4 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001897/0.3323, allocations: 1.23 MB / 481.7 MB, free: 79.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.3343, allocations: 2.725 MB / 484.4 MB, free: 76.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/0.3376, allocations: 247.4 kB / 484.6 MB, free: 76.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000466/0.3381, allocations: 300.2 kB / 484.9 MB, free: 76.13 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.001865/0.3399, allocations: 0.6223 MB / 485.5 MB, free: 75.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/0.3407, allocations: 314.1 kB / 485.8 MB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3428, allocations: 0.8673 MB / 486.7 MB, free: 74.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.394e-05/0.3428, allocations: 17.09 kB / 486.7 MB, free: 74.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.3428, allocations: 11.94 kB / 486.7 MB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3428, allocations: 3.703 kB / 486.7 MB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00708/0.3499, allocations: 3.869 MB / 490.6 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3499, allocations: 4 kB / 490.6 MB, free: 71.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004364/0.3503, allocations: 148.2 kB / 490.8 MB, free: 71.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006126/0.351, allocations: 188.2 kB / 490.9 MB, free: 71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.351, allocations: 27.38 kB / 491 MB, free: 70.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.353, allocations: 2.469 MB / 493.4 MB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.353, allocations: 4.031 kB / 493.4 MB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.3551, allocations: 1.82 MB / 495.3 MB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/0.3558, allocations: 393.8 kB / 495.6 MB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.3561, allocations: 19.98 kB / 495.7 MB, free: 66.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.3566, allocations: 20 kB / 495.7 MB, free: 66.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3567, allocations: 76.41 kB / 495.8 MB, free: 66.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.3568, allocations: 31.98 kB / 495.8 MB, free: 66.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.358, allocations: 1.285 MB / 497.1 MB, free: 64.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 497.1 MB, free: 64.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003772/0.3618, allocations: 0.9335 MB / 498 MB, free: 63.91 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.0004156/0.3622, allocations: 166.8 kB / 498.2 MB, free: 63.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.3655, allocations: 2.5 MB / 0.4889 GB, free: 61.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.3655, allocations: 4 kB / 0.4889 GB, free: 61.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006176/0.3661, allocations: 0.56 MB / 0.4895 GB, free: 60.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3677, allocations: 339.5 kB / 0.4898 GB, free: 60.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008577/0.3762, allocations: 6.569 MB / 0.4962 GB, free: 53.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/0.3773, allocations: 1.118 MB / 0.4973 GB, free: 52.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.3786, allocations: 442.2 kB / 0.4977 GB, free: 52.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006206/0.3792, allocations: 498.1 kB / 0.4982 GB, free: 51.63 MB / 378.7 MB Notification: Performance of SimCode: time 3.196e-06/0.3792, allocations: 0 / 0.4982 GB, free: 51.63 MB / 378.7 MB Notification: Performance of Templates: time 0.04292/0.4221, allocations: 26.84 MB / 0.5244 GB, free: 24.89 MB / 378.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 -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.63019386632368]