Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.0009519/0.0009519, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001329/0.001329, allocations: 173 kB / 24.14 MB, free: 356 kB / 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.9083/0.9083, allocations: 158.6 MB / 186 MB, free: 2.773 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.1294/0.1294, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Universal,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.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,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.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.77e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1463/0.1463, allocations: 13.39 MB / 312.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008931/0.1552, allocations: 4.349 MB / 316.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.1569, allocations: 83.19 kB / 316.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002258/0.1592, allocations: 2.077 MB / 319 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.1624, allocations: 2.031 MB / 321 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.1634, allocations: 0.6024 MB / 321.6 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003213/0.1666, allocations: 4.421 MB / 326.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.1685, allocations: 2.765 MB / 328.8 MB, free: 360 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1705, allocations: 2.299 MB / 331.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.1729, allocations: 2.088 MB / 333.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.1736, allocations: 304 kB / 333.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.1749, allocations: 1.014 MB / 334.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.1759, allocations: 2.01 MB / 336.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.1767, allocations: 1.242 MB / 337.8 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.1801, allocations: 4.716 MB / 342.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1801, allocations: 0 / 342.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1801, allocations: 0 / 342.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.19e-05/0.1801, allocations: 0 / 342.5 MB, free: 2.641 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.003859/0.184, allocations: 4.583 MB / 347.1 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.184, allocations: 8.031 kB / 347.1 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.1876, allocations: 1.487 MB / 348.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.1892, allocations: 1.674 MB / 350.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.1894, allocations: 238.2 kB / 350.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.1897, allocations: 320.1 kB / 350.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005009/0.1947, allocations: 5.229 MB / 356 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.1948, allocations: 31.7 kB / 356.1 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.195, allocations: 151.8 kB / 356.2 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/0.197, allocations: 2.395 MB / 358.6 MB, free: 1.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/0.2014, allocations: 2.97 MB / 361.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/0.2254, allocations: 29.81 MB / 391.4 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.2292, allocations: 2.212 MB / 393.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.2298, allocations: 444.6 kB / 394 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005303/0.2351, allocations: 4.059 MB / 398.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.2351, allocations: 47.81 kB / 398.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.216e-06/0.2351, allocations: 0 / 398.1 MB, free: 9.246 MB / 362.7 MB Notification: Performance of matching and sorting (n=204): time 0.01219/0.2473, allocations: 5.755 MB / 403.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.2474, allocations: 68.72 kB / 404 MB, free: 3.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/0.2495, allocations: 2.69 MB / 406.6 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.2496, allocations: 49.7 kB / 406.7 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.2508, allocations: 3.22 MB / 409.9 MB, free: 13.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000413/0.2512, allocations: 0.7866 MB / 410.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009369/0.2522, allocations: 1.097 MB / 411.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.2523, allocations: 301.1 kB / 412.1 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.2538, allocations: 0.7852 MB / 412.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/0.2566, allocations: 4.057 MB / 416.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004042/0.2606, allocations: 5.31 MB / 422.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-05/0.2606, allocations: 32 kB / 422.3 MB, free: 13.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.00488/0.2655, allocations: 4.098 MB / 426.4 MB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.2656, allocations: 56.94 kB / 426.4 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.241e-05/0.2657, allocations: 120 kB / 426.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008412/0.2665, allocations: 387.2 kB / 426.9 MB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.2686, allocations: 1.322 MB / 428.2 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.2705, allocations: 1.92 MB / 430.2 MB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.2722, allocations: 220 kB / 430.4 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/0.2728, allocations: 300 kB / 430.7 MB, free: 5.051 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (723): * Single equations (assignments): 716 * Array equations: 6 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001285/0.2741, allocations: 0.5783 MB / 431.3 MB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.2744, allocations: 191.8 kB / 431.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.2762, allocations: 1.324 MB / 432.8 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/0.2762, allocations: 47.97 kB / 432.8 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2762, allocations: 4 kB / 432.8 MB, free: 2.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2762, allocations: 7.969 kB / 432.8 MB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006273/0.2825, allocations: 4.671 MB / 437.5 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.2825, allocations: 4 kB / 437.5 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.2832, allocations: 251.6 kB / 437.7 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.2844, allocations: 376 kB / 438.1 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-05/0.2845, allocations: 32 kB / 438.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.2863, allocations: 1.672 MB / 439.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2863, allocations: 11.94 kB / 439.8 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.2886, allocations: 1.724 MB / 441.5 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.2892, allocations: 421.9 kB / 442 MB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.2893, allocations: 43.97 kB / 442 MB, free: 9.398 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000495/0.2898, allocations: 31.94 kB / 442 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.29, allocations: 105.1 kB / 442.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.2901, allocations: 43.92 kB / 442.2 MB, free: 9.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009805/0.2911, allocations: 0.9502 MB / 443.1 MB, free: 8.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2911, allocations: 0 / 443.1 MB, free: 8.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003799/0.2949, allocations: 1.09 MB / 444.2 MB, free: 7.176 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (152): * Single equations (assignments): 145 * Array equations: 6 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.2953, allocations: 179.9 kB / 444.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.2986, allocations: 2.488 MB / 446.9 MB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001468/0.2987, allocations: 94.09 kB / 447 MB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.2995, allocations: 0.625 MB / 447.6 MB, free: 3.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.3012, allocations: 0.6132 MB / 448.2 MB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/0.3111, allocations: 7.977 MB / 456.2 MB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.3122, allocations: 1.31 MB / 457.5 MB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.3135, allocations: 452.4 kB / 457.9 MB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/0.3143, allocations: 473.3 kB / 458.4 MB, free: 8.809 MB / 426.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3143, allocations: 0 / 458.4 MB, free: 8.809 MB / 426.7 MB Notification: Performance of Templates: time 0.1698/0.4841, allocations: 29.6 MB / 488 MB, free: 130.4 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.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.8229488567449152]