Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001878/0.001878, allocations: 85.25 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002304/0.002304, allocations: 168.8 kB / 23.96 MB, free: 4.148 MB / 14.72 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.509/1.509, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.2174/0.2174, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.406e-05, allocations: 2.281 kB / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2034/0.2034, allocations: 10.26 MB / 453 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007416/0.2108, allocations: 3.876 MB / 456.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.2121, allocations: 68.44 kB / 456.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.2145, allocations: 1.209 MB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.2187, allocations: 1.823 MB / 459.9 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.2202, allocations: 0.6051 MB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005784/0.226, allocations: 4.712 MB / 465.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003554/0.2295, allocations: 2.172 MB / 467.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.2333, allocations: 1.862 MB / 469.3 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.2364, allocations: 2.063 MB / 471.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008243/0.2373, allocations: 225.1 kB / 471.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.2399, allocations: 1.256 MB / 472.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001747/0.2416, allocations: 1.683 MB / 474.5 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.2439, allocations: 0.9791 MB / 475.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007099/0.251, allocations: 6.223 MB / 481.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.251, allocations: 0 / 481.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.251, allocations: 0 / 481.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001191/0.2511, allocations: 0 / 481.7 MB, free: 15.01 MB / 382.1 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.008478/0.2596, allocations: 4.192 MB / 485.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.2596, allocations: 8.031 kB / 485.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/0.2815, allocations: 6.214 MB / 492.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005009/0.2865, allocations: 2.027 MB / 494.1 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.2866, allocations: 176.8 kB / 494.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008956/0.2875, allocations: 316.7 kB / 494.6 MB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0177/0.3052, allocations: 10.72 MB / 0.4935 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.236e-05/0.3053, allocations: 35.69 kB / 0.4935 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/0.3057, allocations: 111.8 kB / 0.4936 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004142/0.3098, allocations: 2.463 MB / 0.4961 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02128/0.3311, allocations: 10.16 MB / 0.506 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/0.3873, allocations: 33.32 MB / 0.5385 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/0.3997, allocations: 4.587 MB / 0.543 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/0.4031, allocations: 2.185 MB / 0.5451 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.4042, allocations: 0.5441 MB / 0.5457 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.4043, allocations: 64.44 kB / 0.5457 GB, free: 460 kB / 446.1 MB Notification: Performance of pre-optimization done (n=224): time 4.879e-06/0.4043, allocations: 0 / 0.5457 GB, free: 460 kB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.03854/0.4428, allocations: 15.16 MB / 0.5605 GB, free: 1.238 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001614/0.4445, allocations: 1.481 MB / 0.562 GB, free: 15.64 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005167/0.4496, allocations: 2.985 MB / 0.5649 GB, free: 12.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004514/0.4501, allocations: 53.7 kB / 0.5649 GB, free: 12.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.4522, allocations: 2.776 MB / 0.5676 GB, free: 9.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.4534, allocations: 0.8758 MB / 0.5685 GB, free: 8.887 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.4553, allocations: 1.108 MB / 0.5696 GB, free: 7.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.4554, allocations: 305.1 kB / 0.5699 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004422/0.4599, allocations: 2.849 MB / 0.5727 GB, free: 4.609 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007249/0.4671, allocations: 5.862 MB / 0.5784 GB, free: 13.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.4801, allocations: 9.359 MB / 0.5875 GB, free: 2.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/0.4802, allocations: 28 kB / 0.5875 GB, free: 2.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0994/0.5796, allocations: 33.35 MB / 0.6201 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.5798, allocations: 51.94 kB / 0.6202 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3188/0.8986, allocations: 23.38 MB / 0.643 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0718/0.9704, allocations: 23.34 MB / 0.6658 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004532/0.9749, allocations: 1.321 MB / 0.6671 GB, free: 159.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03557/1.01, allocations: 27.19 MB / 0.6936 GB, free: 137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/1.015, allocations: 0.5499 MB / 0.6942 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009311/1.016, allocations: 323.9 kB / 0.6945 GB, free: 136.2 MB / 0.5294 GB 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.003538/1.02, allocations: 2.031 MB / 0.6965 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/1.02, allocations: 271.9 kB / 0.6967 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007822/1.028, allocations: 5.101 MB / 0.7017 GB, free: 129 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006197/1.034, allocations: 4.393 MB / 0.706 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.034, allocations: 4 kB / 0.706 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.035, allocations: 7.969 kB / 0.706 GB, free: 124.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.053, allocations: 11.59 MB / 0.7173 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/1.053, allocations: 8 kB / 0.7173 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.055, allocations: 451.2 kB / 0.7178 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00277/1.058, allocations: 0.9421 MB / 0.7187 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002595/1.058, allocations: 54.16 kB / 0.7187 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005222/1.063, allocations: 5.557 MB / 0.7242 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007021/1.064, allocations: 1.421 MB / 0.7255 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009392/1.073, allocations: 7.703 MB / 0.7331 GB, free: 96.58 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008419/1.074, allocations: 289.2 kB / 0.7333 GB, free: 96.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/1.074, allocations: 43.98 kB / 0.7334 GB, free: 96.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.076, allocations: 239.1 kB / 0.7336 GB, free: 96.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/1.076, allocations: 148.9 kB / 0.7337 GB, free: 96.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.077, allocations: 63.98 kB / 0.7338 GB, free: 95.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001932/1.079, allocations: 1.728 MB / 0.7355 GB, free: 94.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 0.7355 GB, free: 94.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004008/1.083, allocations: 1.226 MB / 0.7367 GB, free: 93.02 MB / 0.5294 GB 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.0004954/1.083, allocations: 196.8 kB / 0.7369 GB, free: 92.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009481/1.093, allocations: 6.839 MB / 0.7436 GB, free: 86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.093, allocations: 1 kB / 0.7436 GB, free: 86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.095, allocations: 2.302 MB / 0.7458 GB, free: 83.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.098, allocations: 297.9 kB / 0.7461 GB, free: 83.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.111, allocations: 9.997 MB / 0.7559 GB, free: 73.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002547/1.114, allocations: 2.61 MB / 0.7584 GB, free: 70.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003764/1.118, allocations: 2.05 MB / 0.7604 GB, free: 68.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007692/1.118, allocations: 212.4 kB / 0.7606 GB, free: 68.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.383e-06/1.118, allocations: 0 / 0.7606 GB, free: 68.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.06342/1.182, allocations: 46.79 MB / 0.8063 GB, free: 21.89 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.147658057510853]