Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00153/0.00153, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.00231/0.00231, allocations: 173.3 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9115/0.9115, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1314/0.1314, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.757e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1545/0.1545, allocations: 11.08 MB / 310.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1658, allocations: 4.093 MB / 314.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.169, allocations: 68 kB / 314.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.1726, allocations: 1.258 MB / 315.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005905/0.1785, allocations: 1.872 MB / 317.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.1803, allocations: 0.6101 MB / 318 MB, free: 9.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006021/0.1863, allocations: 4.577 MB / 322.6 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.1889, allocations: 2.327 MB / 325 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.1911, allocations: 1.886 MB / 326.8 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.1931, allocations: 1.979 MB / 328.8 MB, free: 428 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.1935, allocations: 224 kB / 329 MB, free: 204 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.1953, allocations: 1.248 MB / 330.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.1964, allocations: 1.722 MB / 332 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1975, allocations: 1 MB / 333 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005873/0.2034, allocations: 4.261 MB / 337.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2034, allocations: 0 / 337.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2034, allocations: 4 kB / 337.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001774/0.2036, allocations: 0 / 337.3 MB, free: 7.938 MB / 298.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.004869/0.2084, allocations: 3.836 MB / 341.1 MB, free: 4.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2085, allocations: 8.031 kB / 341.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.2128, allocations: 1.514 MB / 342.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.2149, allocations: 1.542 MB / 344.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.215, allocations: 180.8 kB / 344.3 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/0.2155, allocations: 312.6 kB / 344.7 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005679/0.2212, allocations: 4.534 MB / 349.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/0.2212, allocations: 29.44 kB / 349.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.2215, allocations: 115.8 kB / 349.3 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/0.2236, allocations: 2.147 MB / 351.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005659/0.2292, allocations: 2.827 MB / 354.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02621/0.2554, allocations: 25.27 MB / 379.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/0.2599, allocations: 2.285 MB / 381.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.2606, allocations: 442.7 kB / 382.3 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/0.2612, allocations: 0.5088 MB / 382.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.2613, allocations: 56.56 kB / 382.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=224): time 4.358e-06/0.2613, allocations: 0 / 382.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=231): time 0.0127/0.274, allocations: 5.614 MB / 388.5 MB, free: 3.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008716/0.2748, allocations: 1.407 MB / 389.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002353/0.2772, allocations: 2.405 MB / 392.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002826/0.2775, allocations: 53.64 kB / 392.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.2786, allocations: 2.672 MB / 395 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007068/0.2793, allocations: 0.8795 MB / 395.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000933/0.2802, allocations: 0.9943 MB / 396.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.2803, allocations: 312.9 kB / 397.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.2819, allocations: 0.8862 MB / 398.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.2843, allocations: 3.746 MB / 401.8 MB, free: 4.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004804/0.2891, allocations: 5.189 MB / 407 MB, free: 13.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.778e-05/0.2892, allocations: 36 kB / 407 MB, free: 13.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02172/0.3109, allocations: 5.006 MB / 412 MB, free: 8.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.311, allocations: 48 kB / 412.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01445/0.3254, allocations: 1.881 MB / 414 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03681/0.3622, allocations: 3.284 MB / 417.3 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003512/0.3657, allocations: 1.146 MB / 418.4 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01278/0.3785, allocations: 4.222 MB / 422.6 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/0.382, allocations: 207.9 kB / 422.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/0.3829, allocations: 280 kB / 423.1 MB, free: 13.27 MB / 394.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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],spherical.sphereColor[1],spherical.sphereColor[2],spherical.sphereColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * 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.001762/0.3846, allocations: 0.5279 MB / 423.6 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008202/0.3854, allocations: 203.7 kB / 423.8 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.3888, allocations: 1.86 MB / 425.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002393/0.3912, allocations: 1.111 MB / 426.8 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3912, allocations: 4 kB / 426.8 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.3913, allocations: 7.969 kB / 426.8 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.403, allocations: 5.372 MB / 432.2 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.403, allocations: 8 kB / 432.2 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/0.4039, allocations: 275.6 kB / 432.5 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.4054, allocations: 0.5058 MB / 433 MB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.4055, allocations: 47.98 kB / 433 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.4081, allocations: 3.016 MB / 436 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006786/0.4088, allocations: 1.347 MB / 437.4 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/0.4126, allocations: 2.309 MB / 439.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.4133, allocations: 266.1 kB / 439.9 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.4136, allocations: 43.98 kB / 440 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007121/0.4143, allocations: 35.94 kB / 440 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.4146, allocations: 152.9 kB / 440.2 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4147, allocations: 47.98 kB / 440.2 MB, free: 11.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.4157, allocations: 0.8549 MB / 441.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4157, allocations: 0 / 441.1 MB, free: 10.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003547/0.4193, allocations: 1.254 MB / 442.3 MB, free: 9.258 MB / 410.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.0005497/0.4198, allocations: 187.9 kB / 442.5 MB, free: 9.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005339/0.4251, allocations: 2.834 MB / 445.3 MB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002237/0.4254, allocations: 63.94 kB / 445.4 MB, free: 6.145 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.4269, allocations: 0.9189 MB / 446.3 MB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.429, allocations: 0.5795 MB / 446.9 MB, free: 4.609 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4406, allocations: 7.627 MB / 454.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.4421, allocations: 1.159 MB / 455.7 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001548/0.4436, allocations: 410.2 kB / 456.1 MB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/0.4445, allocations: 457.2 kB / 456.5 MB, free: 10.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.544e-06/0.4445, allocations: 0 / 456.5 MB, free: 10.75 MB / 426.7 MB Notification: Performance of Templates: time 0.2015/0.646, allocations: 51.53 MB / 0.4962 GB, free: 114.2 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.642255033366382]