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.001004/0.001004, 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.000965/0.000965, 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 0.8959/0.8959, 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.1447/0.1447, 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.503e-06/1.503e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.003e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.1724/0.1725, allocations: 7.28 MB / 306.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005291/0.1777, allocations: 2.559 MB / 309 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/0.1786, allocations: 37.31 kB / 309 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.1803, allocations: 0.9303 MB / 309.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009762/0.1812, allocations: 344.3 kB / 310.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.1821, allocations: 350.8 kB / 310.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1832, allocations: 0.7694 MB / 311.4 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.1841, allocations: 0.7037 MB / 312.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.1849, allocations: 0.5441 MB / 312.6 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000813/0.1857, allocations: 0.562 MB / 313.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.1859, allocations: 100.4 kB / 313.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007529/0.1867, allocations: 0.5195 MB / 313.8 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.1871, allocations: 0.5136 MB / 314.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.1874, allocations: 365.7 kB / 314.7 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.1889, allocations: 1.276 MB / 316 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1889, allocations: 4 kB / 316 MB, free: 11.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1889, allocations: 0 / 316 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.938e-05/0.1889, allocations: 0 / 316 MB, free: 11.96 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.001861/0.1908, allocations: 1.338 MB / 317.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1908, allocations: 8.844 kB / 317.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.1914, allocations: 173.9 kB / 317.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.1919, allocations: 494.4 kB / 318 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.192, allocations: 56.91 kB / 318 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.1921, allocations: 84.16 kB / 318.1 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.1937, allocations: 1.272 MB / 319.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.1937, allocations: 11.02 kB / 319.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.1938, allocations: 37.12 kB / 319.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002713/0.194, allocations: 388.9 kB / 319.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1952, allocations: 0.7547 MB / 320.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003567/0.1988, allocations: 6.328 MB / 326.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2, allocations: 0.6205 MB / 327.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.2001, allocations: 81.56 kB / 327.6 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.2005, allocations: 0.5847 MB / 328.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2005, allocations: 38.55 kB / 328.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=44): time 1.563e-06/0.2005, allocations: 0 / 328.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of matching and sorting (n=58): time 0.004222/0.2048, allocations: 1.905 MB / 330.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2048, allocations: 63.89 kB / 330.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.2053, allocations: 0.6785 MB / 330.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2054, allocations: 37.7 kB / 330.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.2057, allocations: 0.6517 MB / 331.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.2058, allocations: 218.2 kB / 331.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.206, allocations: 250.6 kB / 332 MB, free: 12.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2061, allocations: 414.4 kB / 332.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.2063, allocations: 125.4 kB / 332.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004581/0.2067, allocations: 0.7823 MB / 333.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008477/0.2076, allocations: 1.075 MB / 334.4 MB, free: 9.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.2076, allocations: 15.31 kB / 334.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0008176/0.2084, allocations: 0.814 MB / 335.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2084, allocations: 19.98 kB / 335.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.2084, allocations: 24 kB / 335.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.2085, allocations: 32 kB / 335.3 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006861/0.2092, allocations: 366.7 kB / 335.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006107/0.2098, allocations: 1.264 MB / 336.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.2101, allocations: 55.95 kB / 337 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.2102, allocations: 56 kB / 337 MB, free: 6.977 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.0002557/0.2105, allocations: 238.2 kB / 337.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2106, allocations: 63.94 kB / 337.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.44e-05/0.2106, allocations: 99.83 kB / 337.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.2106, allocations: 7.938 kB / 337.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2106, allocations: 0 / 337.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2107, allocations: 3.984 kB / 337.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.212, allocations: 1.264 MB / 338.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.212, allocations: 8.812 kB / 338.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.2123, allocations: 154.6 kB / 338.8 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2123, allocations: 8 kB / 338.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.2124, allocations: 25.58 kB / 338.9 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005281/0.2129, allocations: 1.221 MB / 340.1 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.2129, allocations: 20 kB / 340.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.2134, allocations: 0.6298 MB / 340.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2135, allocations: 99.44 kB / 340.8 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.2135, allocations: 19.44 kB / 340.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2136, allocations: 16 kB / 340.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.2137, allocations: 59.73 kB / 340.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.2137, allocations: 20 kB / 341 MB, free: 2.672 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001965/0.2139, allocations: 268.5 kB / 341.2 MB, free: 2.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2139, allocations: 4 kB / 341.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.2145, allocations: 216 kB / 341.4 MB, free: 2.199 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.0001207/0.2146, allocations: 104.2 kB / 341.5 MB, free: 2.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005191/0.2151, allocations: 0.5232 MB / 342.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.881e-05/0.2151, allocations: 17.81 kB / 342.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.2153, allocations: 159 kB / 342.2 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.2157, allocations: 103.8 kB / 342.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2179, allocations: 1.931 MB / 344.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.2181, allocations: 307.5 kB / 344.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00025/0.2184, allocations: 119.2 kB / 344.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.2186, allocations: 175.3 kB / 344.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2186, allocations: 0 / 344.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of Templates: time 0.01188/0.2305, allocations: 7.594 MB / 352.4 MB, free: 7.133 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 -s gbode -gbm=radauIIA3 -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.0157810929231346]