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.000919/0.000919, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009293/0.0009293, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9316/0.9316, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1516/0.1516, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.459e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01062/0.01064, allocations: 7.205 MB / 384.5 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005148/0.01579, allocations: 2.517 MB / 387 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.01687, allocations: 39.88 kB / 387 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.01887, allocations: 0.9421 MB / 388 MB, free: 14.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008239/0.01969, allocations: 333.9 kB / 388.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.02059, allocations: 351 kB / 388.6 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.02166, allocations: 0.7356 MB / 389.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009132/0.02257, allocations: 0.6657 MB / 390 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.02343, allocations: 0.5416 MB / 390.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.02432, allocations: 0.5923 MB / 391.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.02454, allocations: 100 kB / 391.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007536/0.02529, allocations: 0.5069 MB / 391.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004047/0.0257, allocations: 0.5065 MB / 392.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.0261, allocations: 350.9 kB / 392.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.02755, allocations: 1.277 MB / 393.9 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.02756, allocations: 4 kB / 393.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.02756, allocations: 0 / 393.9 MB, free: 8.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.02759, allocations: 0 / 393.9 MB, free: 8.875 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.002249/0.02984, allocations: 1.521 MB / 395.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.02988, allocations: 15.98 kB / 395.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.03059, allocations: 231.9 kB / 395.7 MB, free: 7.074 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.0313, allocations: 0.5119 MB / 396.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.03134, allocations: 58.34 kB / 396.2 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.03151, allocations: 76.53 kB / 396.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.0342, allocations: 1.507 MB / 397.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.03423, allocations: 11.89 kB / 397.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.03428, allocations: 31.97 kB / 397.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002431/0.03453, allocations: 385.7 kB / 398.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.03613, allocations: 0.9329 MB / 399.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.04092, allocations: 8.75 MB / 407.9 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.04272, allocations: 0.7394 MB / 408.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.04284, allocations: 103.6 kB / 408.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/0.04339, allocations: 0.5693 MB / 409.3 MB, free: 8.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.04342, allocations: 37.39 kB / 409.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.076e-06/0.04342, allocations: 0 / 409.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.005391/0.04881, allocations: 2.344 MB / 411.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.04885, allocations: 59.84 kB / 411.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005824/0.04943, allocations: 0.8105 MB / 412.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.04946, allocations: 33.7 kB / 412.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.0498, allocations: 0.7744 MB / 413.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.04992, allocations: 226.2 kB / 413.6 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.05014, allocations: 288.2 kB / 413.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.05033, allocations: 0.5858 MB / 414.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.05046, allocations: 110.5 kB / 414.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.05104, allocations: 1.105 MB / 415.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.0519, allocations: 1.366 MB / 417.1 MB, free: 144 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.05191, allocations: 8 kB / 417.1 MB, free: 136 kB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001012/0.05292, allocations: 0.9901 MB / 418.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.05295, allocations: 12 kB / 418.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.05296, allocations: 28 kB / 418.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.05299, allocations: 32 kB / 418.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.05362, allocations: 315.5 kB / 418.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007804/0.0544, allocations: 1.833 MB / 420.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.0548, allocations: 51.95 kB / 420.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.05485, allocations: 60 kB / 420.4 MB, free: 12.71 MB / 346.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.0002816/0.05514, allocations: 271.9 kB / 420.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.05523, allocations: 111.4 kB / 420.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.05532, allocations: 95.73 kB / 420.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.05533, allocations: 4 kB / 420.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.05533, allocations: 7.812 kB / 420.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.05534, allocations: 0 / 420.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.05682, allocations: 1.388 MB / 422.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.05682, allocations: 8 kB / 422.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.05707, allocations: 119.8 kB / 422.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.05707, allocations: 12 kB / 422.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.05709, allocations: 12 kB / 422.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006262/0.05772, allocations: 1.814 MB / 424.2 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.05772, allocations: 8 kB / 424.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.05818, allocations: 0.7185 MB / 424.9 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.05826, allocations: 87.45 kB / 425 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.0583, allocations: 19.94 kB / 425 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.05845, allocations: 12 kB / 425.1 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.0585, allocations: 59.73 kB / 425.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.05852, allocations: 20 kB / 425.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.05876, allocations: 402.8 kB / 425.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05876, allocations: 0 / 425.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006443/0.05941, allocations: 216 kB / 425.7 MB, free: 6.949 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.0001597/0.05957, allocations: 119.1 kB / 425.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.06015, allocations: 0.5612 MB / 426.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.06016, allocations: 0 / 426.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.06031, allocations: 167.1 kB / 426.6 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.06076, allocations: 115.3 kB / 426.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.06273, allocations: 1.919 MB / 428.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.06295, allocations: 311.4 kB / 428.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.06321, allocations: 123.3 kB / 429 MB, free: 3.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.06342, allocations: 202.2 kB / 429.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.06342, allocations: 0 / 429.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of Templates: time 0.01181/0.07523, allocations: 7.76 MB / 437 MB, free: 11.66 MB / 362.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 -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.146535363048315]