Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.0009434/0.0009434, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001025/0.001025, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 18.57 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.929/0.929, allocations: 177.2 MB / 206.1 MB, free: 4.465 MB / 186.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.1487/0.1487, allocations: 34.26 MB / 296.9 MB, free: 13.93 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.842e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005078/0.005096, allocations: 7.201 MB / 386.5 MB, free: 16.17 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.008361, allocations: 2.517 MB / 389 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.008779, allocations: 39.88 kB / 389.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.009821, allocations: 0.946 MB / 390 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004434/0.01026, allocations: 329.9 kB / 390.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.01069, allocations: 347 kB / 390.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.01113, allocations: 0.755 MB / 391.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.01155, allocations: 0.6618 MB / 392.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.01191, allocations: 0.5377 MB / 392.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.01235, allocations: 0.5806 MB / 393.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.01243, allocations: 104 kB / 393.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.01281, allocations: 0.5068 MB / 393.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.01306, allocations: 0.5104 MB / 394.3 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.01326, allocations: 362.9 kB / 394.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007633/0.01403, allocations: 1.265 MB / 395.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.01403, allocations: 3.938 kB / 395.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01403, allocations: 0 / 395.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.01404, allocations: 0 / 395.9 MB, free: 6.691 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.001347/0.01539, allocations: 1.525 MB / 397.5 MB, free: 5.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.01542, allocations: 8.031 kB / 397.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/0.01583, allocations: 231.9 kB / 397.7 MB, free: 4.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.01625, allocations: 0.5119 MB / 398.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01628, allocations: 54.34 kB / 398.3 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.01639, allocations: 84.52 kB / 398.4 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.01803, allocations: 1.511 MB / 399.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.01805, allocations: 11.89 kB / 399.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.0181, allocations: 35.97 kB / 399.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.01834, allocations: 389.7 kB / 400.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.0198, allocations: 0.9108 MB / 401.2 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005016/0.02482, allocations: 8.765 MB / 410 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.02656, allocations: 0.7238 MB / 410.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.02668, allocations: 107.6 kB / 410.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.02724, allocations: 0.5615 MB / 411.4 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.02726, allocations: 45.39 kB / 411.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.824e-06/0.02727, allocations: 0 / 411.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.005347/0.03261, allocations: 2.343 MB / 413.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.03265, allocations: 59.91 kB / 413.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005547/0.0332, allocations: 0.8105 MB / 414.6 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.03323, allocations: 33.7 kB / 414.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.03359, allocations: 0.7744 MB / 415.4 MB, free: 2.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.03371, allocations: 222.2 kB / 415.6 MB, free: 2.344 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.03394, allocations: 284.2 kB / 415.9 MB, free: 2.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.03413, allocations: 0.5975 MB / 416.5 MB, free: 1.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.03426, allocations: 106.5 kB / 416.6 MB, free: 1.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.03508, allocations: 1.109 MB / 417.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.03589, allocations: 1.366 MB / 419.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.0359, allocations: 8 kB / 419.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0009618/0.03686, allocations: 0.9783 MB / 420.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.03689, allocations: 20.03 kB / 420.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.0369, allocations: 20 kB / 420.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.03693, allocations: 36 kB / 420.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.03754, allocations: 323.4 kB / 420.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007143/0.03825, allocations: 1.825 MB / 422.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.03858, allocations: 51.95 kB / 422.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.03864, allocations: 60 kB / 422.4 MB, free: 10.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (164): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.0389, allocations: 271.9 kB / 422.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.03899, allocations: 111.3 kB / 422.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.03909, allocations: 107.8 kB / 422.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.0391, allocations: 4 kB / 422.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.0391, allocations: 0 / 422.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.03911, allocations: 3.984 kB / 422.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.04089, allocations: 1.38 MB / 424.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.0409, allocations: 11.94 kB / 424.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.04115, allocations: 119.8 kB / 424.4 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.04116, allocations: 8 kB / 424.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.04118, allocations: 16 kB / 424.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006739/0.04185, allocations: 1.801 MB / 426.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.04186, allocations: 11.94 kB / 426.2 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.04233, allocations: 0.7262 MB / 427 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.0424, allocations: 79.59 kB / 427 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.04245, allocations: 23.92 kB / 427.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.04261, allocations: 20 kB / 427.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.04266, allocations: 51.81 kB / 427.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.04268, allocations: 20 kB / 427.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.04294, allocations: 402.8 kB / 427.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04294, allocations: 0 / 427.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005745/0.04351, allocations: 220 kB / 427.8 MB, free: 4.773 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.04366, allocations: 123.1 kB / 427.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.04423, allocations: 0.5575 MB / 428.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.04423, allocations: 0 / 428.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.04439, allocations: 167.1 kB / 428.6 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.04487, allocations: 121 kB / 428.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.04706, allocations: 1.923 MB / 430.6 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.04728, allocations: 303.5 kB / 430.9 MB, free: 1.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.04752, allocations: 119.3 kB / 431.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.04774, allocations: 210.2 kB / 431.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04774, allocations: 0 / 431.3 MB, free: 1.086 MB / 346.7 MB Notification: Performance of Templates: time 0.01168/0.05942, allocations: 7.747 MB / 439 MB, free: 9.484 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.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.1600277270190418]