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.0009523/0.0009523, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001137/0.001137, allocations: 171 kB / 24.91 MB, free: 9.188 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.9761/0.9761, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2633/0.2633, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.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.463e-06/1.463e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.897e-05, allocations: 5.219 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01032/0.01035, allocations: 7.258 MB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01532, allocations: 2.609 MB / 335.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.01591, allocations: 39.88 kB / 335.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.01719, allocations: 0.9342 MB / 336.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.01778, allocations: 329.9 kB / 336.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.01837, allocations: 359 kB / 336.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006692/0.01904, allocations: 0.7434 MB / 337.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.01962, allocations: 0.6852 MB / 338.2 MB, free: 10.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004995/0.02012, allocations: 0.5377 MB / 338.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005544/0.02068, allocations: 0.5572 MB / 339.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.02079, allocations: 100 kB / 339.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.02133, allocations: 0.5146 MB / 339.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.02166, allocations: 0.5064 MB / 340.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.02203, allocations: 363 kB / 340.8 MB, free: 8.035 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.02314, allocations: 1.273 MB / 342.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.02315, allocations: 0 / 342.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02315, allocations: 0 / 342.1 MB, free: 6.758 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.02317, allocations: 0 / 342.1 MB, free: 6.758 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.001464/0.02463, allocations: 1.323 MB / 343.4 MB, free: 5.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.02466, allocations: 8.031 kB / 343.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.0251, allocations: 188.7 kB / 343.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.02559, allocations: 478.7 kB / 344.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.02563, allocations: 58.34 kB / 344.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.02576, allocations: 84.52 kB / 344.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.02722, allocations: 1.267 MB / 345.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.02725, allocations: 7.938 kB / 345.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.0273, allocations: 35.97 kB / 345.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002791/0.02758, allocations: 389.7 kB / 345.9 MB, free: 2.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.02886, allocations: 0.7659 MB / 346.7 MB, free: 1.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.03284, allocations: 6.319 MB / 353 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.03415, allocations: 0.6178 MB / 353.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.03426, allocations: 92.77 kB / 353.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.03478, allocations: 0.5775 MB / 354.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.03481, allocations: 38.56 kB / 354.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.03481, allocations: 0 / 354.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.004287/0.0391, allocations: 1.915 MB / 356.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.03913, allocations: 55.91 kB / 356.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.03953, allocations: 0.6785 MB / 357 MB, free: 7.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.03956, allocations: 29.7 kB / 357 MB, free: 7.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.03983, allocations: 0.6555 MB / 357.6 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.03995, allocations: 230.1 kB / 357.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.04014, allocations: 246.6 kB / 358.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.04025, allocations: 394.6 kB / 358.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.04039, allocations: 129.4 kB / 358.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.04083, allocations: 0.7863 MB / 359.4 MB, free: 4.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.04159, allocations: 1.075 MB / 360.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.0416, allocations: 8 kB / 360.5 MB, free: 3.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.000778/0.04238, allocations: 0.8139 MB / 361.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.0424, allocations: 22.28 kB / 361.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.04242, allocations: 24 kB / 361.3 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.04245, allocations: 35.98 kB / 361.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.04315, allocations: 366.8 kB / 361.7 MB, free: 1.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006023/0.04375, allocations: 1.262 MB / 363 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.04409, allocations: 59.91 kB / 363.1 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.04414, allocations: 64.11 kB / 363.1 MB, free: 432 kB / 330.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.0002251/0.04436, allocations: 228.1 kB / 363.3 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.04444, allocations: 67.88 kB / 363.4 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.04453, allocations: 103.7 kB / 363.5 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.04453, allocations: 4 kB / 363.5 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.04454, allocations: 4 kB / 363.5 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.04455, allocations: 3.984 kB / 363.5 MB, free: 0 / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.04583, allocations: 1.261 MB / 364.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.04584, allocations: 8 kB / 364.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.04614, allocations: 154.7 kB / 364.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.04615, allocations: 8 kB / 364.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.04617, allocations: 20 kB / 365 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004758/0.04664, allocations: 1.226 MB / 366.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.04665, allocations: 11.94 kB / 366.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.04708, allocations: 0.6298 MB / 366.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.04714, allocations: 71.47 kB / 366.9 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.04719, allocations: 23.98 kB / 366.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.04733, allocations: 19.94 kB / 366.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.04739, allocations: 51.84 kB / 367 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.04741, allocations: 20 kB / 367 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.0476, allocations: 268.5 kB / 367.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0476, allocations: 0 / 367.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005416/0.04814, allocations: 216 kB / 367.5 MB, free: 11.68 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.0001237/0.04827, allocations: 100.2 kB / 367.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.04878, allocations: 0.5198 MB / 368.1 MB, free: 11.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.611e-05/0.04881, allocations: 17.81 kB / 368.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.04896, allocations: 154.3 kB / 368.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.04935, allocations: 117.4 kB / 368.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.0512, allocations: 1.938 MB / 370.3 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.0514, allocations: 299.5 kB / 370.6 MB, free: 8.391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.05164, allocations: 123.2 kB / 370.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.05186, allocations: 183.3 kB / 370.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.05186, allocations: 0 / 370.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of Templates: time 0.0112/0.06306, allocations: 7.57 MB / 378.5 MB, free: 0.6758 MB / 346.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 -s gbode -gbm=radauIIA3 -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.0860100351274014]