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.0009946/0.0009946, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001135/0.001135, allocations: 165.8 kB / 24.84 MB, free: 8.711 MB / 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.9956/0.9956, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1508/0.1508, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.482e-06/1.482e-06, allocations: 0 / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.029e-05, allocations: 2.312 kB / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006174/0.006204, allocations: 7.243 MB / 356.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.01057, allocations: 2.473 MB / 358.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009924/0.01157, allocations: 35.88 kB / 358.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.01289, allocations: 0.9304 MB / 359.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000773/0.01367, allocations: 349.8 kB / 359.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.01435, allocations: 355 kB / 360.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.01533, allocations: 0.759 MB / 361 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.01616, allocations: 0.6813 MB / 361.7 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006708/0.01683, allocations: 0.561 MB / 362.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007046/0.01754, allocations: 0.5767 MB / 362.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.01769, allocations: 104 kB / 363 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.01833, allocations: 0.5107 MB / 363.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000369/0.01869, allocations: 0.5103 MB / 364 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.01903, allocations: 359 kB / 364.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.02049, allocations: 1.285 MB / 365.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.02049, allocations: 0 / 365.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02049, allocations: 0 / 365.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.411e-05/0.02053, allocations: 0 / 365.6 MB, free: 8.371 MB / 298.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.002044/0.02258, allocations: 1.541 MB / 367.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.02261, allocations: 8.031 kB / 367.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.02311, allocations: 239.9 kB / 367.4 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.02372, allocations: 0.5118 MB / 367.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/0.02376, allocations: 54.34 kB / 368 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.0239, allocations: 88.52 kB / 368.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.02585, allocations: 1.511 MB / 369.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.02588, allocations: 7.938 kB / 369.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.02594, allocations: 35.97 kB / 369.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/0.02627, allocations: 381.7 kB / 370 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.02788, allocations: 0.9262 MB / 370.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005324/0.03321, allocations: 8.758 MB / 379.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.03494, allocations: 0.7274 MB / 380.4 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.03505, allocations: 103.6 kB / 380.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/0.03558, allocations: 0.5655 MB / 381.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.03561, allocations: 45.38 kB / 381.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 4.258e-06/0.03561, allocations: 7.984 kB / 381.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.005559/0.04117, allocations: 2.347 MB / 383.5 MB, free: 5.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.04121, allocations: 59.91 kB / 383.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/0.04188, allocations: 0.8144 MB / 384.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.0419, allocations: 37.7 kB / 384.4 MB, free: 4.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.04254, allocations: 0.7744 MB / 385.1 MB, free: 4.195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.04267, allocations: 226.1 kB / 385.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.0429, allocations: 284.2 kB / 385.6 MB, free: 3.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.04312, allocations: 0.5897 MB / 386.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.04325, allocations: 118.5 kB / 386.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.04405, allocations: 1.105 MB / 387.5 MB, free: 1.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.04497, allocations: 1.366 MB / 388.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.04499, allocations: 8 kB / 388.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001395/0.04638, allocations: 0.9704 MB / 389.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.04641, allocations: 16 kB / 389.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/0.04643, allocations: 28.08 kB / 389.8 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.04646, allocations: 40 kB / 389.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.04711, allocations: 311.5 kB / 390.2 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009788/0.04809, allocations: 1.837 MB / 392 MB, free: 12.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.0485, allocations: 64.08 kB / 392.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.04854, allocations: 56 kB / 392.1 MB, free: 12.16 MB / 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.0003048/0.04885, allocations: 268 kB / 392.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.04895, allocations: 107.4 kB / 392.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.04905, allocations: 103.8 kB / 392.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.04905, allocations: 4 kB / 392.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.04905, allocations: 4 kB / 392.6 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.04906, allocations: 3.984 kB / 392.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.05074, allocations: 1.388 MB / 394 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.05074, allocations: 4 kB / 394 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.05101, allocations: 119.8 kB / 394.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.05102, allocations: 15.92 kB / 394.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.05104, allocations: 19.94 kB / 394.2 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.05185, allocations: 1.8 MB / 396 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.05186, allocations: 11.94 kB / 396 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.05271, allocations: 0.726 MB / 396.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.05285, allocations: 103.4 kB / 396.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.0529, allocations: 23.92 kB / 396.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.05305, allocations: 20.06 kB / 396.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.05311, allocations: 55.73 kB / 396.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.05313, allocations: 20 kB / 396.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.0534, allocations: 410.8 kB / 397.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0534, allocations: 0 / 397.3 MB, free: 6.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006885/0.05409, allocations: 216 kB / 397.5 MB, free: 6.363 MB / 330.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.000175/0.05427, allocations: 123.1 kB / 397.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.05492, allocations: 0.55 MB / 398.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.05492, allocations: 8 kB / 398.2 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.05508, allocations: 174.5 kB / 398.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.05558, allocations: 113.1 kB / 398.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.05769, allocations: 1.932 MB / 400.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.0579, allocations: 303.5 kB / 400.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.05816, allocations: 123.3 kB / 400.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.05838, allocations: 206.2 kB / 401 MB, free: 2.664 MB / 330.7 MB Notification: Performance of SimCode: time 1.103e-06/0.05839, allocations: 4 kB / 401 MB, free: 2.66 MB / 330.7 MB Notification: Performance of Templates: time 0.01217/0.07055, allocations: 7.759 MB / 408.8 MB, free: 11 MB / 346.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.3547311979345977]