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.001698/0.001698, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.001655/0.001655, allocations: 165.9 kB / 24.99 MB, free: 8.793 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 1.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2737/0.2737, allocations: 34.26 MB / 296 MB, free: 0.7656 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.974e-06/1.974e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.88e-05, allocations: 2.312 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006825/0.006854, allocations: 7.361 MB / 385.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.01117, allocations: 2.527 MB / 387.9 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.01198, allocations: 35.88 kB / 388 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.01336, allocations: 0.9578 MB / 388.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.01397, allocations: 329.9 kB / 389.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.01464, allocations: 355 kB / 389.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.01529, allocations: 0.7472 MB / 390.3 MB, free: 6.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.01591, allocations: 0.6696 MB / 391 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.01639, allocations: 0.5104 MB / 391.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.01729, allocations: 0.6352 MB / 392.1 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.01743, allocations: 104 kB / 392.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.01802, allocations: 0.5069 MB / 392.7 MB, free: 4.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.01837, allocations: 0.5181 MB / 393.3 MB, free: 3.684 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.01867, allocations: 366.9 kB / 393.6 MB, free: 3.324 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.01992, allocations: 1.281 MB / 394.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01992, allocations: 0 / 394.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.01992, allocations: 4 kB / 394.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.01994, allocations: 0 / 394.9 MB, free: 2.035 MB / 362.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.002057/0.022, allocations: 1.72 MB / 396.6 MB, free: 280 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.02204, allocations: 8.031 kB / 396.6 MB, free: 272 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005667/0.0226, allocations: 252 kB / 396.9 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.02328, allocations: 0.5464 MB / 397.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.02332, allocations: 62.34 kB / 397.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.02346, allocations: 88.47 kB / 397.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.02592, allocations: 1.776 MB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.02594, allocations: 7.938 kB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.02601, allocations: 35.97 kB / 399.4 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/0.02632, allocations: 389.7 kB / 399.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.02868, allocations: 1.272 MB / 401 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.03412, allocations: 8.747 MB / 409.8 MB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.03609, allocations: 0.7468 MB / 410.5 MB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.03625, allocations: 127.6 kB / 410.7 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.03685, allocations: 0.577 MB / 411.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.03688, allocations: 41.39 kB / 411.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.785e-06/0.03688, allocations: 0 / 411.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.006432/0.04332, allocations: 2.547 MB / 413.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.04336, allocations: 59.91 kB / 413.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.04405, allocations: 0.7955 MB / 414.7 MB, free: 13.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.04408, allocations: 29.7 kB / 414.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/0.04441, allocations: 0.7589 MB / 415.5 MB, free: 12.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.04454, allocations: 222.2 kB / 415.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.04475, allocations: 264.4 kB / 415.9 MB, free: 12.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.04494, allocations: 0.5782 MB / 416.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.04515, allocations: 142.5 kB / 416.7 MB, free: 11.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.04577, allocations: 1.068 MB / 417.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.04687, allocations: 1.333 MB / 419.1 MB, free: 8.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/0.04687, allocations: 8 kB / 419.1 MB, free: 8.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00111/0.04798, allocations: 1.017 MB / 420.1 MB, free: 7.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.04801, allocations: 12 kB / 420.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.04803, allocations: 24 kB / 420.1 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.04806, allocations: 28 kB / 420.2 MB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/0.04876, allocations: 320 kB / 420.5 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008532/0.04961, allocations: 1.844 MB / 422.3 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.05003, allocations: 55.94 kB / 422.4 MB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.05009, allocations: 68 kB / 422.4 MB, free: 4.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (157): * Single equations (assignments): 156 * 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.0003539/0.05044, allocations: 276 kB / 422.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.05055, allocations: 103.4 kB / 422.8 MB, free: 4.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.05066, allocations: 95.53 kB / 422.9 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.05066, allocations: 7.984 kB / 422.9 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.05067, allocations: 0 / 422.9 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.05068, allocations: 0 / 422.9 MB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.05255, allocations: 1.629 MB / 424.5 MB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.05255, allocations: 4 kB / 424.5 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.05283, allocations: 128.5 kB / 424.7 MB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.05284, allocations: 12 kB / 424.7 MB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.05287, allocations: 20 kB / 424.7 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.05396, allocations: 1.817 MB / 426.5 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/0.05397, allocations: 15.88 kB / 426.5 MB, free: 488 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.05457, allocations: 0.7501 MB / 427.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.05464, allocations: 75.47 kB / 427.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.05469, allocations: 27.98 kB / 427.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.05486, allocations: 16 kB / 427.4 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.05491, allocations: 51.81 kB / 427.4 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.05493, allocations: 20 kB / 427.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003409/0.05527, allocations: 423 kB / 427.9 MB, free: 15 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05527, allocations: 0 / 427.9 MB, free: 15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006674/0.05594, allocations: 212 kB / 428.1 MB, free: 14.79 MB / 410.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.0001811/0.05612, allocations: 127 kB / 428.2 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007937/0.05692, allocations: 0.5798 MB / 428.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.05692, allocations: 4 kB / 428.8 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.05713, allocations: 187.7 kB / 429 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.05764, allocations: 98.97 kB / 429.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.05993, allocations: 1.932 MB / 431 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.06017, allocations: 299.4 kB / 431.3 MB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.06062, allocations: 286.7 kB / 431.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.06075, allocations: 72.48 kB / 431.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.06076, allocations: 0 / 431.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of Templates: time 0.01163/0.07239, allocations: 6.982 MB / 438.6 MB, free: 4.184 MB / 410.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.6196019100025296]