Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001028/0.001028, 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.001005/0.001005, allocations: 169 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 1.009/1.009, allocations: 158.6 MB / 186 MB, free: 2.758 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.146/0.146, 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.678e-05, allocations: 6.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.182/0.1821, allocations: 7.235 MB / 306.3 MB, free: 16.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008022/0.1901, allocations: 2.562 MB / 308.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.1924, allocations: 36.97 kB / 308.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.1948, allocations: 0.9466 MB / 309.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.1964, allocations: 341.6 kB / 310.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.1976, allocations: 357.5 kB / 310.5 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.1993, allocations: 0.7643 MB / 311.3 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.2007, allocations: 0.7029 MB / 312 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.202, allocations: 0.5551 MB / 312.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.2031, allocations: 0.5641 MB / 313.1 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.2034, allocations: 104 kB / 313.2 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.2046, allocations: 0.4987 MB / 313.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.2052, allocations: 0.5157 MB / 314.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007595/0.206, allocations: 370.2 kB / 314.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002306/0.2083, allocations: 1.275 MB / 315.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2083, allocations: 0 / 315.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2083, allocations: 0 / 315.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.817e-05/0.2083, allocations: 1.094 kB / 315.9 MB, free: 12.02 MB / 282.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.003079/0.2114, allocations: 1.34 MB / 317.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.2115, allocations: 9.969 kB / 317.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.2123, allocations: 174.1 kB / 317.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000917/0.2132, allocations: 491.5 kB / 317.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.877e-05/0.2133, allocations: 57.94 kB / 317.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.2135, allocations: 79.03 kB / 318 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.2158, allocations: 1.276 MB / 319.3 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/0.2159, allocations: 6.875 kB / 319.3 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.216, allocations: 39.34 kB / 319.3 MB, free: 9.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004444/0.2164, allocations: 386.4 kB / 319.7 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.2184, allocations: 0.7633 MB / 320.5 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006037/0.2244, allocations: 6.321 MB / 326.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.2262, allocations: 0.6245 MB / 327.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.2264, allocations: 77.56 kB / 327.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/0.2271, allocations: 0.5907 MB / 328.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2271, allocations: 34.56 kB / 328.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 3.958e-06/0.2271, allocations: 0 / 328.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.006754/0.2339, allocations: 1.905 MB / 330 MB, free: 14.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.2339, allocations: 55.91 kB / 330.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.2347, allocations: 0.6902 MB / 330.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.2348, allocations: 33.7 kB / 330.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.2352, allocations: 0.6555 MB / 331.5 MB, free: 13.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.2354, allocations: 222.2 kB / 331.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.2357, allocations: 250.6 kB / 331.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2359, allocations: 402.5 kB / 332.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.2361, allocations: 134.5 kB / 332.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.2367, allocations: 0.7746 MB / 333.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.2379, allocations: 1.075 MB / 334.3 MB, free: 9.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.2379, allocations: 8 kB / 334.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001329/0.2392, allocations: 0.8221 MB / 335.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.2393, allocations: 16 kB / 335.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/0.2393, allocations: 27.98 kB / 335.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.015e-05/0.2394, allocations: 32 kB / 335.2 MB, free: 8.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/0.2403, allocations: 315.5 kB / 335.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.2413, allocations: 1.299 MB / 336.8 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.2421, allocations: 51.95 kB / 336.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.622e-05/0.2422, allocations: 56 kB / 336.9 MB, free: 7.078 MB / 298.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.0004857/0.2427, allocations: 229.5 kB / 337.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.2428, allocations: 64.02 kB / 337.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.243, allocations: 103.8 kB / 337.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.243, allocations: 10.05 kB / 337.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.243, allocations: 0 / 337.3 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.243, allocations: 3.984 kB / 337.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.2452, allocations: 1.265 MB / 338.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.2452, allocations: 8 kB / 338.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.2455, allocations: 115.8 kB / 338.7 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.2455, allocations: 12 kB / 338.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2455, allocations: 16 kB / 338.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006221/0.2461, allocations: 1.26 MB / 340 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2461, allocations: 11.94 kB / 340 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.2465, allocations: 0.626 MB / 340.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.2467, allocations: 95.44 kB / 340.7 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.621e-05/0.2467, allocations: 23.62 kB / 340.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.2469, allocations: 16 kB / 340.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.2469, allocations: 63.67 kB / 340.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.247, allocations: 16 kB / 340.8 MB, free: 2.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.2472, allocations: 268.5 kB / 341.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2472, allocations: 3.938 kB / 341.1 MB, free: 2.523 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008296/0.248, allocations: 220 kB / 341.3 MB, free: 2.309 MB / 298.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.0001716/0.2482, allocations: 104.2 kB / 341.4 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.2488, allocations: 0.5194 MB / 341.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.627e-05/0.2488, allocations: 17.81 kB / 342 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.2489, allocations: 156.2 kB / 342.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.2494, allocations: 109.5 kB / 342.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.2517, allocations: 1.927 MB / 344.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.2519, allocations: 307.4 kB / 344.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.2522, allocations: 124.7 kB / 344.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.2524, allocations: 175.3 kB / 344.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2524, allocations: 0 / 344.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of Templates: time 0.01255/0.265, allocations: 7.594 MB / 352.3 MB, free: 7.246 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3274950380437076]