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.001428/0.001428, allocations: 80.92 kB / 21.5 MB, free: 2.988 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.001643/0.001643, allocations: 171.8 kB / 24.91 MB, free: 9.145 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 0.9586/0.9586, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.265/0.265, allocations: 32.81 MB / 294.6 MB, free: 1.238 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 1.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.196e-05, allocations: 2.312 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006266/0.006288, allocations: 7.254 MB / 330.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.01107, allocations: 2.617 MB / 333.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.01171, allocations: 35.88 kB / 333.2 MB, free: 15.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.01298, allocations: 0.9304 MB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005879/0.01356, allocations: 333.9 kB / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.01418, allocations: 358.9 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.01482, allocations: 0.7278 MB / 335.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.01544, allocations: 0.6931 MB / 336.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.01594, allocations: 0.5415 MB / 336.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.01654, allocations: 0.5573 MB / 337.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01664, allocations: 100 kB / 337.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005678/0.01721, allocations: 0.5147 MB / 337.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.01756, allocations: 0.5064 MB / 338.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.01782, allocations: 355 kB / 338.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.01885, allocations: 1.269 MB / 340 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.01885, allocations: 0 / 340 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01885, allocations: 0 / 340 MB, free: 8.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.01887, allocations: 0 / 340 MB, free: 8.785 MB / 314.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.001477/0.02034, allocations: 1.334 MB / 341.4 MB, free: 7.426 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.02038, allocations: 8.031 kB / 341.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.02083, allocations: 188.7 kB / 341.6 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.02132, allocations: 478.7 kB / 342 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.02136, allocations: 62.34 kB / 342.1 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.02148, allocations: 88.52 kB / 342.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.02292, allocations: 1.263 MB / 343.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.02295, allocations: 11.88 kB / 343.5 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.023, allocations: 35.97 kB / 343.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000284/0.02328, allocations: 381.7 kB / 343.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02453, allocations: 0.7808 MB / 344.7 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.0284, allocations: 6.307 MB / 351 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.02968, allocations: 0.6147 MB / 351.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.02979, allocations: 93.48 kB / 351.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000532/0.03032, allocations: 0.5775 MB / 352.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.03034, allocations: 38.56 kB / 352.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/0.03035, allocations: 0 / 352.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.004319/0.03467, allocations: 1.91 MB / 354.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.0347, allocations: 59.91 kB / 354.2 MB, free: 10.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.03511, allocations: 0.6785 MB / 354.9 MB, free: 9.402 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.03514, allocations: 37.7 kB / 355 MB, free: 9.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.0354, allocations: 0.6516 MB / 355.6 MB, free: 8.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.0355, allocations: 226.1 kB / 355.8 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.03569, allocations: 246.6 kB / 356.1 MB, free: 8.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.0358, allocations: 398.6 kB / 356.5 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.03595, allocations: 133.4 kB / 356.6 MB, free: 7.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.03638, allocations: 0.7902 MB / 357.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.0371, allocations: 1.064 MB / 358.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.03711, allocations: 8 kB / 358.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0007941/0.0379, allocations: 0.8143 MB / 359.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.03793, allocations: 19.94 kB / 359.3 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.03795, allocations: 24.16 kB / 359.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.03797, allocations: 32 kB / 359.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.03872, allocations: 366.3 kB / 359.7 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000691/0.03941, allocations: 1.274 MB / 361 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.03975, allocations: 55.91 kB / 361 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.0398, allocations: 60 kB / 361.1 MB, free: 2.438 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.0002558/0.04005, allocations: 228 kB / 361.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.04013, allocations: 59.94 kB / 361.4 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.882e-05/0.04021, allocations: 103.7 kB / 361.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.04022, allocations: 8 kB / 361.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.04022, allocations: 0 / 361.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.04023, allocations: 3.984 kB / 361.5 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.0416, allocations: 1.261 MB / 362.7 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.0416, allocations: 8 kB / 362.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.04192, allocations: 158.6 kB / 362.9 MB, free: 476 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.04193, allocations: 8 kB / 362.9 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.04195, allocations: 16 kB / 362.9 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005372/0.04249, allocations: 1.237 MB / 364.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.04249, allocations: 8 kB / 364.2 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.04289, allocations: 0.6299 MB / 364.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.04296, allocations: 71.48 kB / 364.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.043, allocations: 23.92 kB / 364.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.04315, allocations: 19.94 kB / 364.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.04321, allocations: 55.75 kB / 365 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.04322, allocations: 19.98 kB / 365 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.04342, allocations: 264.5 kB / 365.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04342, allocations: 4 kB / 365.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005647/0.04398, allocations: 212 kB / 365.5 MB, free: 13.7 MB / 346.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.0001337/0.04412, allocations: 108.9 kB / 365.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.04466, allocations: 0.5114 MB / 366.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.858e-05/0.04469, allocations: 17.81 kB / 366.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.04484, allocations: 156.5 kB / 366.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.04528, allocations: 117.7 kB / 366.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.04733, allocations: 1.935 MB / 368.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.04758, allocations: 303.5 kB / 368.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000275/0.04785, allocations: 123.3 kB / 368.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.04809, allocations: 175.3 kB / 368.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.04809, allocations: 3.938 kB / 368.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of Templates: time 0.01241/0.0605, allocations: 7.576 MB / 376.5 MB, free: 2.684 MB / 346.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 -s gbode -gbm=radauIIA3 -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.056849904358387]