Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008648/0.0008648, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001043/0.001908, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002426, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9696/0.9696, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.094/1.064, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02271/0.2795, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 293.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.075e-06/9.328e-06, allocations: 6.312 kB / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.006665/0.006674, allocations: 9.113 MB / 303 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004705/0.01138, allocations: 3.871 MB / 306.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005499/0.01193, allocations: 67.69 kB / 306.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.01399, allocations: 2.324 MB / 309.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.01588, allocations: 1.687 MB / 310.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.01662, allocations: 0.6977 MB / 311.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.01935, allocations: 3.937 MB / 315.6 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.02098, allocations: 2.457 MB / 318 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.02285, allocations: 2.404 MB / 320.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.02437, allocations: 1.777 MB / 322.2 MB, free: 8.695 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.02461, allocations: 284 kB / 322.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.02561, allocations: 1.135 MB / 323.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008039/0.02642, allocations: 1.524 MB / 325.2 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006616/0.02708, allocations: 0.8724 MB / 326 MB, free: 4.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002659/0.02974, allocations: 3.768 MB / 329.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.02975, allocations: 0 / 329.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02975, allocations: 0 / 329.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.02978, allocations: 4 kB / 329.8 MB, free: 1.094 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.003784/0.03357, allocations: 4.663 MB / 334.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.0336, allocations: 12.92 kB / 334.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.03573, allocations: 0.9645 MB / 335.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.03757, allocations: 1.641 MB / 337.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-05/0.03765, allocations: 193.3 kB / 337.3 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.03792, allocations: 256.2 kB / 337.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/0.04181, allocations: 4.183 MB / 341.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.034e-05/0.04187, allocations: 43.69 kB / 341.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.04207, allocations: 123.9 kB / 341.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/0.04323, allocations: 1.485 MB / 343.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003555/0.04679, allocations: 2.09 MB / 345.4 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.0626, allocations: 26.77 MB / 372.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.0648, allocations: 1.13 MB / 373.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.06507, allocations: 249.5 kB / 373.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.06745, allocations: 2.486 MB / 376.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.06747, allocations: 46.94 kB / 376.1 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 1.844e-06/0.06748, allocations: 0 / 376.1 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of matching and sorting (n=104): time 0.008061/0.07554, allocations: 3.807 MB / 379.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.07559, allocations: 137 kB / 380.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.07743, allocations: 2.787 MB / 382.8 MB, free: 10.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.07747, allocations: 41.64 kB / 382.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.07852, allocations: 2.724 MB / 385.6 MB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.07877, allocations: 468.6 kB / 386.1 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007146/0.07949, allocations: 0.993 MB / 387.1 MB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.07956, allocations: 305.1 kB / 387.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.08038, allocations: 0.6266 MB / 388 MB, free: 4.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/0.08268, allocations: 3.925 MB / 391.9 MB, free: 15.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.08565, allocations: 4.975 MB / 396.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-05/0.08569, allocations: 36 kB / 396.9 MB, free: 8.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.003865/0.08955, allocations: 3.661 MB / 400.6 MB, free: 4.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.0896, allocations: 56 kB / 400.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/0.08969, allocations: 120 kB / 400.8 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/0.09036, allocations: 340.1 kB / 401.1 MB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.0922, allocations: 1.283 MB / 402.4 MB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.094, allocations: 2.149 MB / 404.5 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.09544, allocations: 235.8 kB / 404.7 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.09569, allocations: 284 kB / 405 MB, free: 292 kB / 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.0006836/0.09637, allocations: 0.5394 MB / 405.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.0966, allocations: 175.6 kB / 405.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009054/0.09751, allocations: 0.6481 MB / 406.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.09752, allocations: 12 kB / 406.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.09753, allocations: 4 kB / 406.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.09753, allocations: 3.984 kB / 406.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.1008, allocations: 2.951 MB / 409.4 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.1008, allocations: 7.984 kB / 409.4 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.1011, allocations: 131.8 kB / 409.5 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.1014, allocations: 250 kB / 409.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006968/0.1021, allocations: 336.3 kB / 410.1 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.1021, allocations: 16 kB / 410.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1036, allocations: 1.907 MB / 412 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1036, allocations: 4 kB / 412 MB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.1049, allocations: 1.392 MB / 413.4 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.1051, allocations: 16 kB / 413.4 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.1055, allocations: 27.97 kB / 413.4 MB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.1056, allocations: 56.34 kB / 413.5 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1056, allocations: 31.92 kB / 413.5 MB, free: 7.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007793/0.1064, allocations: 0.9891 MB / 414.5 MB, free: 6.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1064, allocations: 0 / 414.5 MB, free: 6.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002006/0.1084, allocations: 0.8553 MB / 415.4 MB, free: 5.715 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.0002675/0.1087, allocations: 132.2 kB / 415.5 MB, free: 5.578 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.1106, allocations: 2.11 MB / 417.6 MB, free: 3.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001485/0.1108, allocations: 96.16 kB / 417.7 MB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.1112, allocations: 412 kB / 418.1 MB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.1124, allocations: 0.679 MB / 418.8 MB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/0.1205, allocations: 6.09 MB / 424.9 MB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.1214, allocations: 1.026 MB / 425.9 MB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008203/0.1222, allocations: 414.2 kB / 426.3 MB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.1227, allocations: 453.2 kB / 426.7 MB, free: 10.18 MB / 426.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1227, allocations: 0 / 426.7 MB, free: 10.18 MB / 426.7 MB Notification: Performance of Templates: time 0.172/0.2947, allocations: 24.78 MB / 451.5 MB, free: 106.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.8124488163739443]