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.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001477/0.001477, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.2483/0.2483, allocations: 46.95 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002054/0.002054, allocations: 75.88 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3687, allocations: 66.03 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01349/0.3822, allocations: 10.26 MB / 0.5711 GB, free: 9.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009525/0.3917, allocations: 3.867 MB / 0.5749 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002051/0.3938, allocations: 67.75 kB / 0.5749 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.3965, allocations: 1.16 MB / 0.5761 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.401, allocations: 1.775 MB / 0.5778 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.4025, allocations: 0.5652 MB / 0.5784 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005543/0.408, allocations: 4.034 MB / 0.5823 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.4103, allocations: 1.684 MB / 0.5839 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.4122, allocations: 1.172 MB / 0.5851 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002622/0.4148, allocations: 1.791 MB / 0.5868 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005382/0.4153, allocations: 216 kB / 0.587 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.4177, allocations: 1.186 MB / 0.5882 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.4194, allocations: 1.608 MB / 0.5898 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.421, allocations: 1.3 MB / 0.591 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.4293, allocations: 6.224 MB / 0.5971 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4294, allocations: 3.938 kB / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4294, allocations: 3.938 kB / 0.5971 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000178/0.4295, allocations: 0 / 0.5971 GB, free: 15.11 MB / 446.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.009349/0.4389, allocations: 4.107 MB / 0.6011 GB, free: 10.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.4389, allocations: 8.031 kB / 0.6011 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/0.4592, allocations: 6.163 MB / 0.6072 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006756/0.466, allocations: 2.137 MB / 0.6093 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.4662, allocations: 184.8 kB / 0.6094 GB, free: 2.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001028/0.4672, allocations: 311.6 kB / 0.6097 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/0.4917, allocations: 10.71 MB / 0.6202 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.4918, allocations: 27.77 kB / 0.6202 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/0.4923, allocations: 115.8 kB / 0.6203 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005792/0.4981, allocations: 2.467 MB / 0.6227 GB, free: 4.324 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/0.5267, allocations: 10.13 MB / 0.6326 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05838/0.5851, allocations: 32.96 MB / 0.6648 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.5971, allocations: 4.469 MB / 0.6692 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/0.6006, allocations: 2.183 MB / 0.6713 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.6018, allocations: 0.5519 MB / 0.6718 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.6018, allocations: 48.56 kB / 0.6719 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 4.519e-06/0.6018, allocations: 3.938 kB / 0.6719 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.04052/0.6424, allocations: 14.77 MB / 0.6863 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001625/0.644, allocations: 1.48 MB / 0.6878 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004904/0.6489, allocations: 2.832 MB / 0.6905 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005353/0.6494, allocations: 53.7 kB / 0.6906 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002507/0.6519, allocations: 2.799 MB / 0.6933 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001623/0.6536, allocations: 0.8953 MB / 0.6942 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003136/0.6567, allocations: 1.108 MB / 0.6953 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6569, allocations: 309.1 kB / 0.6956 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/0.6617, allocations: 2.634 MB / 0.6981 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007694/0.6693, allocations: 5.643 MB / 0.7036 GB, free: 14.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01367/0.683, allocations: 8.937 MB / 0.7124 GB, free: 4.438 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/0.6832, allocations: 28 kB / 0.7124 GB, free: 4.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07082/0.754, allocations: 17.14 MB / 0.7291 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.7542, allocations: 48 kB / 0.7292 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.351/1.105, allocations: 10.61 MB / 0.7395 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04686/1.152, allocations: 8.644 MB / 0.748 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/1.156, allocations: 1.313 MB / 0.7493 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02532/1.182, allocations: 17.29 MB / 0.7661 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/1.186, allocations: 421 kB / 0.7665 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006611/1.187, allocations: 323.5 kB / 0.7669 GB, free: 131.2 MB / 0.5606 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.002594/1.189, allocations: 2.017 MB / 0.7688 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/1.19, allocations: 271.4 kB / 0.7691 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007067/1.197, allocations: 5.107 MB / 0.7741 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006146/1.203, allocations: 4.392 MB / 0.7784 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.203, allocations: 4 kB / 0.7784 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/1.203, allocations: 7.969 kB / 0.7784 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/1.219, allocations: 11.48 MB / 0.7896 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.219, allocations: 21.19 kB / 0.7896 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.221, allocations: 459.2 kB / 0.79 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/1.224, allocations: 0.9342 MB / 0.791 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/1.224, allocations: 55.8 kB / 0.791 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005112/1.229, allocations: 5.556 MB / 0.7964 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006547/1.23, allocations: 1.421 MB / 0.7978 GB, free: 99.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009269/1.239, allocations: 7.721 MB / 0.8054 GB, free: 91.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007334/1.24, allocations: 250.5 kB / 0.8056 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/1.24, allocations: 47.98 kB / 0.8056 GB, free: 91.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.242, allocations: 195.6 kB / 0.8058 GB, free: 91.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/1.242, allocations: 147 kB / 0.806 GB, free: 91.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/1.242, allocations: 71.91 kB / 0.806 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001761/1.244, allocations: 1.612 MB / 0.8076 GB, free: 89.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.244, allocations: 0 / 0.8076 GB, free: 89.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003636/1.248, allocations: 1.078 MB / 0.8087 GB, free: 88.47 MB / 0.5606 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.0003868/1.248, allocations: 190 kB / 0.8088 GB, free: 88.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008757/1.257, allocations: 6.228 MB / 0.8149 GB, free: 82.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.257, allocations: 7.062 kB / 0.8149 GB, free: 82.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.26, allocations: 2.296 MB / 0.8172 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.262, allocations: 294.8 kB / 0.8175 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.276, allocations: 10.05 MB / 0.8273 GB, free: 69.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.279, allocations: 2.613 MB / 0.8298 GB, free: 66.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003701/1.283, allocations: 2.047 MB / 0.8318 GB, free: 64.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/1.284, allocations: 211.3 kB / 0.832 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/1.284, allocations: 3.938 kB / 0.832 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.06121/1.345, allocations: 43.55 MB / 0.8746 GB, free: 21.14 MB / 0.5606 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.456187477335334]