Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009678/0.0009678, allocations: 87.58 kB / 21.19 MB, free: 3.375 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.001031/0.001031, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9994/0.9994, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.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.2722/0.2722, allocations: 32.8 MB / 294.3 MB, free: 1.27 MB / 266.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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.901e-05, allocations: 2.312 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01064/0.01068, allocations: 7.372 MB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.01624, allocations: 2.546 MB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.01776, allocations: 35.88 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.01954, allocations: 0.9577 MB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.02067, allocations: 333.9 kB / 387.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.02152, allocations: 351 kB / 387.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.02252, allocations: 0.7473 MB / 388.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008315/0.02335, allocations: 0.6658 MB / 389 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.02416, allocations: 0.5455 MB / 389.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.02507, allocations: 0.5884 MB / 390.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.02531, allocations: 108 kB / 390.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007293/0.02604, allocations: 0.5068 MB / 390.8 MB, free: 5.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000427/0.02647, allocations: 0.5142 MB / 391.3 MB, free: 5.332 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003523/0.02682, allocations: 351 kB / 391.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.02831, allocations: 1.273 MB / 392.9 MB, free: 3.711 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02831, allocations: 0 / 392.9 MB, free: 3.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02831, allocations: 0 / 392.9 MB, free: 3.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.179e-05/0.02836, allocations: 0 / 392.9 MB, free: 3.711 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.002551/0.03091, allocations: 1.685 MB / 394.6 MB, free: 1.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.03096, allocations: 8.031 kB / 394.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/0.03159, allocations: 251.9 kB / 394.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.03226, allocations: 0.5431 MB / 395.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.0323, allocations: 62.34 kB / 395.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.03244, allocations: 80.48 kB / 395.5 MB, free: 1.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.0354, allocations: 1.784 MB / 397.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/0.03543, allocations: 11.94 kB / 397.3 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.0355, allocations: 35.97 kB / 397.3 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/0.0358, allocations: 385.7 kB / 397.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.03827, allocations: 1.279 MB / 399 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00652/0.04479, allocations: 8.747 MB / 407.7 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.04692, allocations: 0.7585 MB / 408.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.04711, allocations: 119.6 kB / 408.6 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/0.04777, allocations: 0.5771 MB / 409.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.0478, allocations: 41.38 kB / 409.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 4.829e-06/0.04781, allocations: 112 / 409.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.006854/0.05466, allocations: 2.55 MB / 411.8 MB, free: 204 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.05471, allocations: 59.91 kB / 411.8 MB, free: 132 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007824/0.05549, allocations: 0.8111 MB / 412.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.05553, allocations: 37.69 kB / 412.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.05593, allocations: 0.7667 MB / 413.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.05606, allocations: 226.2 kB / 413.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.0563, allocations: 272.4 kB / 414 MB, free: 13.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.0565, allocations: 0.586 MB / 414.5 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.05673, allocations: 146.5 kB / 414.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.05742, allocations: 1.129 MB / 415.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.05854, allocations: 1.413 MB / 417.2 MB, free: 9.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.05855, allocations: 8 kB / 417.2 MB, free: 9.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001623/0.06017, allocations: 1.063 MB / 418.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.06021, allocations: 19 kB / 418.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.06023, allocations: 24 kB / 418.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.031e-05/0.06027, allocations: 32 kB / 418.4 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/0.06102, allocations: 335.5 kB / 418.7 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.06207, allocations: 1.852 MB / 420.5 MB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005051/0.06258, allocations: 60.08 kB / 420.6 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.06263, allocations: 72 kB / 420.7 MB, free: 6.227 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.0003376/0.06297, allocations: 268 kB / 420.9 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.06306, allocations: 99.42 kB / 421 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.06316, allocations: 99.72 kB / 421.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.06316, allocations: 8 kB / 421.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.06316, allocations: 0 / 421.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.06317, allocations: 7.984 kB / 421.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.0652, allocations: 1.638 MB / 422.8 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.06521, allocations: 12.03 kB / 422.8 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.06549, allocations: 127.8 kB / 422.9 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.0655, allocations: 8 kB / 422.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.06552, allocations: 20 kB / 422.9 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009408/0.06647, allocations: 1.817 MB / 424.8 MB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.06647, allocations: 11.94 kB / 424.8 MB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.06748, allocations: 0.7422 MB / 425.5 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.06759, allocations: 79.42 kB / 425.6 MB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.06764, allocations: 23.98 kB / 425.6 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.06782, allocations: 16 kB / 425.6 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.06788, allocations: 63.8 kB / 425.7 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.0679, allocations: 20 kB / 425.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003968/0.0683, allocations: 431 kB / 426.1 MB, free: 344 kB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0683, allocations: 0 / 426.1 MB, free: 344 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009043/0.0692, allocations: 212 kB / 426.3 MB, free: 132 kB / 394.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.0002315/0.06944, allocations: 123 kB / 426.5 MB, free: 0 / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009686/0.0704, allocations: 0.5969 MB / 427.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.07041, allocations: 0 / 427.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.07062, allocations: 193.2 kB / 427.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.07112, allocations: 108.5 kB / 427.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.07382, allocations: 1.928 MB / 429.3 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.07407, allocations: 303.5 kB / 429.6 MB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005134/0.07459, allocations: 291 kB / 429.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.07473, allocations: 60.5 kB / 429.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of SimCode: time 3.577e-06/0.07473, allocations: 0 / 429.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of Templates: time 0.01507/0.0898, allocations: 7.386 MB / 437.3 MB, free: 5.109 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.691368645057082]