Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.001467/0.001467, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00121/0.00121, allocations: 166.4 kB / 25 MB, free: 8.336 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.9738/0.9738, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2832/0.2832, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.62e-05, allocations: 2.312 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008569/0.008586, allocations: 11.28 MB / 387.3 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005836/0.01442, allocations: 3.976 MB / 391.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/0.01519, allocations: 75.69 kB / 391.3 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.01669, allocations: 1.253 MB / 392.6 MB, free: 4.332 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.01889, allocations: 1.832 MB / 394.4 MB, free: 2.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.01984, allocations: 0.6078 MB / 395 MB, free: 1.883 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.02298, allocations: 4.701 MB / 399.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.02462, allocations: 2.267 MB / 402 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.02605, allocations: 1.859 MB / 403.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.02767, allocations: 2.069 MB / 405.9 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.02788, allocations: 224 kB / 406.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.02915, allocations: 1.248 MB / 407.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009378/0.03009, allocations: 1.69 MB / 409.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.03077, allocations: 0.9808 MB / 410.1 MB, free: 2.797 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00298/0.03375, allocations: 4.195 MB / 414.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.03375, allocations: 4 kB / 414.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.03375, allocations: 0 / 414.3 MB, free: 14.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.03378, allocations: 0 / 414.3 MB, free: 14.58 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.004182/0.03796, allocations: 4.614 MB / 418.9 MB, free: 9.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.038, allocations: 8.031 kB / 418.9 MB, free: 9.895 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.04942, allocations: 6.71 MB / 425.6 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.05157, allocations: 1.83 MB / 427.4 MB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.865e-05/0.05167, allocations: 180.8 kB / 427.6 MB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005194/0.05219, allocations: 304.5 kB / 427.9 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00877/0.06096, allocations: 5.715 MB / 433.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.842e-05/0.06104, allocations: 27.77 kB / 433.6 MB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004008/0.06144, allocations: 115.8 kB / 433.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.06385, allocations: 2.463 MB / 436.2 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009101/0.07295, allocations: 3.824 MB / 440 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2016/0.2746, allocations: 35.29 MB / 475.3 MB, free: 72.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006041/0.2806, allocations: 2.91 MB / 478.2 MB, free: 72.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.2817, allocations: 0.6522 MB / 478.9 MB, free: 71.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006403/0.2824, allocations: 0.5271 MB / 479.4 MB, free: 71.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2824, allocations: 57.7 kB / 479.5 MB, free: 71.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 4.548e-06/0.2824, allocations: 0 / 479.5 MB, free: 71.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01824/0.3007, allocations: 8.833 MB / 488.3 MB, free: 69.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007564/0.3014, allocations: 1.978 MB / 490.3 MB, free: 67.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.3045, allocations: 2.695 MB / 493 MB, free: 66.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003944/0.3049, allocations: 56.55 kB / 493 MB, free: 66.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/0.3064, allocations: 2.913 MB / 495.9 MB, free: 64.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009625/0.3074, allocations: 0.9258 MB / 496.9 MB, free: 63.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/0.3089, allocations: 1.171 MB / 498 MB, free: 63.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.3089, allocations: 478.3 kB / 498.5 MB, free: 62.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/0.3107, allocations: 0.8279 MB / 499.3 MB, free: 62.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.3147, allocations: 5.283 MB / 0.4928 GB, free: 56.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005654/0.3203, allocations: 6.756 MB / 0.4994 GB, free: 49.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.3204, allocations: 31.22 kB / 0.4994 GB, free: 49.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04882/0.3693, allocations: 28.96 MB / 0.5277 GB, free: 29.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.3693, allocations: 52 kB / 0.5278 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03302/0.4023, allocations: 20.16 MB / 0.5474 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06652/0.4689, allocations: 29.22 MB / 0.576 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003041/0.4719, allocations: 1.318 MB / 0.5773 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01713/0.489, allocations: 10 MB / 0.587 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/0.493, allocations: 0.5462 MB / 0.5876 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/0.4936, allocations: 320 kB / 0.5879 GB, free: 15.53 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001417/0.495, allocations: 0.5781 MB / 0.5884 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.4954, allocations: 334.1 kB / 0.5888 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4996, allocations: 2.619 MB / 0.5913 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003007/0.5026, allocations: 1.844 MB / 0.5931 GB, free: 10.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5026, allocations: 4.688 kB / 0.5931 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.5026, allocations: 7.969 kB / 0.5931 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5139, allocations: 7.895 MB / 0.6008 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5139, allocations: 8 kB / 0.6008 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.515, allocations: 455.2 kB / 0.6013 GB, free: 1.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.5167, allocations: 0.6036 MB / 0.6019 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003614/0.5171, allocations: 51.97 kB / 0.6019 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1459/0.663, allocations: 4.395 MB / 0.6062 GB, free: 133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005566/0.6636, allocations: 1.923 MB / 0.6081 GB, free: 131.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/0.669, allocations: 3.226 MB / 0.6112 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.6695, allocations: 272.2 kB / 0.6115 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002668/0.6698, allocations: 46.05 kB / 0.6115 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008929/0.6707, allocations: 241.4 kB / 0.6118 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.6709, allocations: 148 kB / 0.6119 GB, free: 130.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.671, allocations: 71.12 kB / 0.612 GB, free: 130.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.6723, allocations: 1.142 MB / 0.6131 GB, free: 130.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6723, allocations: 2.875 kB / 0.6131 GB, free: 130.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003438/0.6757, allocations: 1.223 MB / 0.6143 GB, free: 130.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003848/0.6761, allocations: 201.8 kB / 0.6145 GB, free: 130.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005269/0.6814, allocations: 4.044 MB / 0.6184 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6814, allocations: 3.25 kB / 0.6184 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.6827, allocations: 1.317 MB / 0.6197 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6838, allocations: 328.6 kB / 0.62 GB, free: 128.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00881/0.6927, allocations: 7.856 MB / 0.6277 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008752/0.6935, allocations: 1.172 MB / 0.6289 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002187/0.6957, allocations: 1.678 MB / 0.6305 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/0.6962, allocations: 206.4 kB / 0.6307 GB, free: 125.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6962, allocations: 0 / 0.6307 GB, free: 125.2 MB / 458.7 MB Notification: Performance of Templates: time 0.0544/0.7506, allocations: 49.2 MB / 0.6787 GB, free: 92.46 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.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: 4.67458411003463]