Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001352/0.001352, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001614/0.001614, allocations: 169 kB / 24.91 MB, free: 8.723 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.9027/0.9027, allocations: 177.1 MB / 205.3 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.529e-05, allocations: 2.969 kB / 325.2 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01282/0.01283, allocations: 7.209 MB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009686/0.02252, allocations: 2.614 MB / 335.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003465/0.02287, allocations: 35.88 kB / 335.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.02408, allocations: 0.9498 MB / 336.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.02446, allocations: 329.9 kB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.02483, allocations: 362.9 kB / 336.7 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004729/0.02531, allocations: 0.7434 MB / 337.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.0258, allocations: 0.6852 MB / 338.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004053/0.02621, allocations: 0.5299 MB / 338.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.02666, allocations: 0.565 MB / 339.3 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.02675, allocations: 104 kB / 339.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.02716, allocations: 0.499 MB / 339.9 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.02745, allocations: 0.5103 MB / 340.4 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.02769, allocations: 355 kB / 340.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.02851, allocations: 1.273 MB / 342 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.02851, allocations: 0 / 342 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.02851, allocations: 0 / 342 MB, free: 6.891 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.02852, allocations: 0 / 342 MB, free: 6.891 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.001306/0.02983, allocations: 1.331 MB / 343.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.761e-05/0.02986, allocations: 12.02 kB / 343.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.03024, allocations: 176.7 kB / 343.5 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.03071, allocations: 486.7 kB / 344 MB, free: 4.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.03075, allocations: 62.3 kB / 344 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.03086, allocations: 84.52 kB / 344.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.03228, allocations: 1.259 MB / 345.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.0323, allocations: 11.94 kB / 345.4 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.03236, allocations: 35.95 kB / 345.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/0.03266, allocations: 385.7 kB / 345.8 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.03384, allocations: 0.7763 MB / 346.6 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.03761, allocations: 6.311 MB / 352.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.0388, allocations: 0.6228 MB / 353.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.0389, allocations: 88.83 kB / 353.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.03942, allocations: 0.5736 MB / 354.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.03944, allocations: 38.66 kB / 354.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.894e-06/0.03944, allocations: 3.938 kB / 354.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.003928/0.04337, allocations: 1.911 MB / 356.1 MB, free: 8.277 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.0434, allocations: 59.89 kB / 356.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/0.04378, allocations: 0.6746 MB / 356.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.0438, allocations: 33.7 kB / 356.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.04405, allocations: 0.6594 MB / 357.6 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.04415, allocations: 222.1 kB / 357.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.04433, allocations: 246.6 kB / 358 MB, free: 6.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.04443, allocations: 398.6 kB / 358.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.04457, allocations: 129.4 kB / 358.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.04496, allocations: 0.7941 MB / 359.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.04561, allocations: 1.072 MB / 360.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.04561, allocations: 8 kB / 360.4 MB, free: 3.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0006772/0.04629, allocations: 0.8144 MB / 361.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.04631, allocations: 20.03 kB / 361.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.04633, allocations: 24 kB / 361.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.04635, allocations: 32 kB / 361.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.0469, allocations: 319.4 kB / 361.6 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005769/0.04748, allocations: 1.288 MB / 362.9 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.04775, allocations: 55.91 kB / 362.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.0478, allocations: 64 kB / 363 MB, free: 0.5703 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.000193/0.04799, allocations: 232 kB / 363.2 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.04805, allocations: 59.94 kB / 363.3 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.04813, allocations: 103.7 kB / 363.4 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.04813, allocations: 8 kB / 363.4 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.04814, allocations: 3.984 kB / 363.4 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.04814, allocations: 0 / 363.4 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.04933, allocations: 1.261 MB / 364.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.04933, allocations: 4 kB / 364.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.04956, allocations: 123.8 kB / 364.8 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.04956, allocations: 8 kB / 364.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.04958, allocations: 16 kB / 364.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004393/0.05002, allocations: 1.256 MB / 366.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.05003, allocations: 15.92 kB / 366.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.05039, allocations: 0.622 MB / 366.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.05044, allocations: 79.59 kB / 366.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.05048, allocations: 16 kB / 366.8 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.05062, allocations: 19.94 kB / 366.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.05067, allocations: 55.8 kB / 366.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.05068, allocations: 20 kB / 366.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.05086, allocations: 264.5 kB / 367.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05086, allocations: 0 / 367.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.05134, allocations: 216 kB / 367.4 MB, free: 11.84 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.0001116/0.05145, allocations: 104.2 kB / 367.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.05191, allocations: 0.5196 MB / 368 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/0.05194, allocations: 17.81 kB / 368 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.05208, allocations: 155.7 kB / 368.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.05248, allocations: 112.9 kB / 368.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.05417, allocations: 1.935 MB / 370.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.05437, allocations: 307.5 kB / 370.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002227/0.0546, allocations: 123.3 kB / 370.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.0548, allocations: 179.3 kB / 370.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/0.05481, allocations: 0 / 370.8 MB, free: 8.246 MB / 346.7 MB Notification: Performance of Templates: time 0.01068/0.06549, allocations: 7.572 MB / 378.4 MB, free: 0.832 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.020776091143489]