Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001269/0.002088, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00124/0.002062, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9182/0.9182, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2048/1.123, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1721/0.1721, allocations: 32.79 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02235/0.1944, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.798e-05, allocations: 9.125 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007017/0.007035, allocations: 9.233 MB / 295.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005248/0.01228, allocations: 3.88 MB / 299 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.01288, allocations: 67.69 kB / 299 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.01512, allocations: 2.336 MB / 301.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.01732, allocations: 1.73 MB / 303.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009007/0.01822, allocations: 0.7015 MB / 303.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.0211, allocations: 3.872 MB / 307.7 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.02295, allocations: 2.473 MB / 310.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.02509, allocations: 2.443 MB / 312.6 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.02673, allocations: 1.796 MB / 314.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003149/0.02705, allocations: 288 kB / 314.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.02838, allocations: 1.155 MB / 315.8 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009057/0.02928, allocations: 1.566 MB / 317.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007778/0.03006, allocations: 0.8997 MB / 318.3 MB, free: 7.801 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.03322, allocations: 3.857 MB / 322.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.03322, allocations: 0 / 322.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.03323, allocations: 0 / 322.2 MB, free: 3.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.36e-05/0.03327, allocations: 4 kB / 322.2 MB, free: 3.926 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.1461/0.1794, allocations: 4.732 MB / 326.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.1794, allocations: 9.438 kB / 326.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.1823, allocations: 0.9967 MB / 327.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.1846, allocations: 1.677 MB / 329.6 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1847, allocations: 195.9 kB / 329.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/0.1852, allocations: 262.2 kB / 330 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004739/0.1899, allocations: 4.237 MB / 334.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.817e-05/0.19, allocations: 43.97 kB / 334.3 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.1902, allocations: 126.9 kB / 334.4 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001086/0.1913, allocations: 1.435 MB / 335.9 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.195, allocations: 2.125 MB / 338 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.2103, allocations: 27.08 MB / 365.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2127, allocations: 1.132 MB / 366.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.213, allocations: 250.3 kB / 366.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/0.2158, allocations: 2.486 MB / 368.9 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.2158, allocations: 44.62 kB / 369 MB, free: 6.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.176e-06/0.2158, allocations: 3.469 kB / 369 MB, free: 6.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.009653/0.2255, allocations: 3.877 MB / 372.8 MB, free: 2.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2255, allocations: 140.4 kB / 373 MB, free: 2.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.2278, allocations: 2.817 MB / 375.8 MB, free: 176 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.2279, allocations: 41.7 kB / 375.8 MB, free: 128 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.2295, allocations: 2.762 MB / 378.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.23, allocations: 468.2 kB / 379.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007947/0.2308, allocations: 1.015 MB / 380.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.2308, allocations: 315.2 kB / 380.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.2318, allocations: 0.6307 MB / 381 MB, free: 11.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.2342, allocations: 3.958 MB / 385 MB, free: 5.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004206/0.2384, allocations: 5.442 MB / 390.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.257e-05/0.2385, allocations: 36 kB / 390.4 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.004785/0.2432, allocations: 3.692 MB / 394.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.2433, allocations: 56 kB / 394.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.2434, allocations: 136.1 kB / 394.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.2442, allocations: 345.3 kB / 394.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.2464, allocations: 1.287 MB / 395.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.2486, allocations: 2.153 MB / 398.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002598/0.2512, allocations: 239.7 kB / 398.3 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/0.2515, allocations: 284 kB / 398.6 MB, free: 6.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.arrowLine.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 (651): * Single equations (assignments): 647 * 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.001058/0.2526, allocations: 0.549 MB / 399.2 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.2528, allocations: 167.8 kB / 399.3 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.2538, allocations: 0.6465 MB / 400 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.2538, allocations: 8 kB / 400 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2538, allocations: 5.422 kB / 400 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.2538, allocations: 3.984 kB / 400 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003695/0.2575, allocations: 3.007 MB / 403 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.2575, allocations: 12.03 kB / 403 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.2579, allocations: 131.8 kB / 403.1 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.2581, allocations: 246 kB / 403.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/0.2588, allocations: 336.2 kB / 403.7 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.2589, allocations: 20.86 kB / 403.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.2606, allocations: 1.901 MB / 405.6 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2606, allocations: 4 kB / 405.6 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.262, allocations: 1.397 MB / 407 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/0.2622, allocations: 16 kB / 407 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.2626, allocations: 16 kB / 407.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/0.2627, allocations: 67.94 kB / 407.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/0.2627, allocations: 24 kB / 407.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008533/0.2636, allocations: 0.9996 MB / 408.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2636, allocations: 0 / 408.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002877/0.2665, allocations: 0.8788 MB / 409 MB, free: 12.75 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 (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.0003497/0.2668, allocations: 152.9 kB / 409.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.2695, allocations: 2.231 MB / 411.4 MB, free: 10.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001589/0.2697, allocations: 97.94 kB / 411.5 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.2702, allocations: 472.5 kB / 412 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/0.2727, allocations: 2.428 MB / 414.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.2823, allocations: 6.201 MB / 420.6 MB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008373/0.2831, allocations: 1.047 MB / 421.6 MB, free: 16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009608/0.2841, allocations: 409.4 kB / 422 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005337/0.2846, allocations: 443.4 kB / 422.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.833e-06/0.2846, allocations: 0 / 422.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Templates: time 0.03667/0.3213, allocations: 23.49 MB / 446 MB, free: 7.789 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4258790500462055]