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.001032/0.001032, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001064/0.001064, allocations: 167.3 kB / 24.82 MB, free: 8.922 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2776/0.2776, allocations: 34.25 MB / 296.1 MB, free: 0.7188 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.473e-06/1.473e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.68e-05, allocations: 9.125 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005869/0.005896, allocations: 7.205 MB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.009845, allocations: 2.515 MB / 388.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.01055, allocations: 39.88 kB / 388.3 MB, free: 8.566 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.01182, allocations: 0.9421 MB / 389.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005743/0.01239, allocations: 333.9 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.01302, allocations: 351 kB / 389.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007754/0.01379, allocations: 0.7395 MB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.01444, allocations: 0.6735 MB / 391.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007308/0.01517, allocations: 0.5378 MB / 391.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.01605, allocations: 0.5845 MB / 392.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.01624, allocations: 100 kB / 392.5 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.01703, allocations: 0.5069 MB / 393 MB, free: 3.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.01745, allocations: 0.5025 MB / 393.5 MB, free: 3.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.01771, allocations: 366.9 kB / 393.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.01894, allocations: 1.265 MB / 395.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01894, allocations: 0 / 395.1 MB, free: 1.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01895, allocations: 4 kB / 395.2 MB, free: 1.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.01897, allocations: 0 / 395.2 MB, free: 1.656 MB / 362.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.001819/0.02079, allocations: 1.533 MB / 396.7 MB, free: 84 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.02084, allocations: 12.03 kB / 396.7 MB, free: 72 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.02135, allocations: 234.8 kB / 396.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.02194, allocations: 0.5079 MB / 397.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.02197, allocations: 58.34 kB / 397.5 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.02211, allocations: 80.53 kB / 397.6 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.02411, allocations: 1.504 MB / 399.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.02413, allocations: 15.88 kB / 399.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.0242, allocations: 35.97 kB / 399.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004307/0.02463, allocations: 381.7 kB / 399.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.02635, allocations: 0.9322 MB / 400.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005458/0.0318, allocations: 8.742 MB / 409.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.03346, allocations: 0.7337 MB / 409.9 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.03357, allocations: 107.6 kB / 410 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.03412, allocations: 0.5731 MB / 410.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.03415, allocations: 41.39 kB / 410.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.03415, allocations: 0 / 410.6 MB, free: 1.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.005145/0.0393, allocations: 2.348 MB / 413 MB, free: 15.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.03933, allocations: 59.91 kB / 413 MB, free: 15.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.03985, allocations: 0.8105 MB / 413.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.03988, allocations: 37.7 kB / 413.9 MB, free: 14.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.04023, allocations: 0.7627 MB / 414.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.04036, allocations: 230.1 kB / 414.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.04057, allocations: 284.2 kB / 415.1 MB, free: 13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.04076, allocations: 0.5936 MB / 415.7 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.0409, allocations: 114.5 kB / 415.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.04145, allocations: 1.105 MB / 417 MB, free: 10.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/0.0423, allocations: 1.373 MB / 418.3 MB, free: 8.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.04231, allocations: 4 kB / 418.3 MB, free: 8.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0009134/0.04322, allocations: 0.9775 MB / 419.3 MB, free: 7.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.04325, allocations: 16 kB / 419.3 MB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.04326, allocations: 24.88 kB / 419.3 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.04329, allocations: 32 kB / 419.4 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.04387, allocations: 323.5 kB / 419.7 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/0.0446, allocations: 1.829 MB / 421.5 MB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.04496, allocations: 56.08 kB / 421.6 MB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.045, allocations: 64 kB / 421.6 MB, free: 5.473 MB / 394.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.0002575/0.04526, allocations: 268 kB / 421.9 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.04534, allocations: 91.48 kB / 422 MB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.04542, allocations: 107.7 kB / 422.1 MB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.04543, allocations: 8 kB / 422.1 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.04543, allocations: 3.938 kB / 422.1 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.04544, allocations: 4 kB / 422.1 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.04687, allocations: 1.38 MB / 423.5 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.04687, allocations: 8.125 kB / 423.5 MB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.04711, allocations: 127.8 kB / 423.6 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.04711, allocations: 8 kB / 423.6 MB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.04713, allocations: 16 kB / 423.7 MB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.04771, allocations: 1.794 MB / 425.4 MB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.04772, allocations: 15.94 kB / 425.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.04818, allocations: 0.7226 MB / 426.2 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.04825, allocations: 71.47 kB / 426.3 MB, free: 460 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.04829, allocations: 23.98 kB / 426.3 MB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.04843, allocations: 15.94 kB / 426.3 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.04848, allocations: 59.75 kB / 426.4 MB, free: 360 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.04849, allocations: 20.03 kB / 426.4 MB, free: 340 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.04874, allocations: 402.9 kB / 426.8 MB, free: 15.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04874, allocations: 4 kB / 426.8 MB, free: 15.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005868/0.04933, allocations: 212 kB / 427 MB, free: 15.73 MB / 410.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.0001393/0.04947, allocations: 126.9 kB / 427.1 MB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005702/0.05004, allocations: 0.55 MB / 427.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.05004, allocations: 0 / 427.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.0502, allocations: 177 kB / 427.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.05064, allocations: 112.5 kB / 427.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.05277, allocations: 1.935 MB / 429.9 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.05299, allocations: 295.5 kB / 430.2 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.05326, allocations: 123.3 kB / 430.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.05347, allocations: 202.2 kB / 430.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/0.05348, allocations: 0 / 430.5 MB, free: 12.05 MB / 410.7 MB Notification: Performance of Templates: time 0.01177/0.06524, allocations: 7.579 MB / 438.1 MB, free: 4.594 MB / 410.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.472467079758644]