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.0009354/0.0009354, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005339/0.005339, allocations: 165.1 kB / 24.7 MB, free: 9.426 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.914/0.914, allocations: 177.1 MB / 205 MB, free: 5.727 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.2573/0.2573, allocations: 32.79 MB / 294.2 MB, free: 1.211 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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 440.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.382e-05, allocations: 6.219 kB / 440.9 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.2043/0.2044, allocations: 10.27 MB / 451.1 MB, free: 41.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006192/0.2106, allocations: 3.868 MB / 455 MB, free: 38.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.2122, allocations: 70.5 kB / 455.1 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2139, allocations: 1.207 MB / 456.3 MB, free: 38.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.2168, allocations: 1.828 MB / 458.1 MB, free: 37.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2178, allocations: 0.6022 MB / 458.7 MB, free: 37.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.2213, allocations: 4.706 MB / 463.4 MB, free: 35.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.2236, allocations: 2.175 MB / 465.6 MB, free: 34.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.2258, allocations: 1.862 MB / 467.4 MB, free: 34.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.2275, allocations: 2.066 MB / 469.5 MB, free: 33.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.2278, allocations: 231.4 kB / 469.7 MB, free: 33.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.2293, allocations: 1.244 MB / 471 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008504/0.2302, allocations: 1.686 MB / 472.7 MB, free: 32.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008265/0.231, allocations: 0.9739 MB / 473.6 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007082/0.2381, allocations: 6.226 MB / 479.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2381, allocations: 0 / 479.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2381, allocations: 0 / 479.9 MB, free: 30.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002111/0.2383, allocations: 0 / 479.9 MB, free: 30.08 MB / 410.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.008276/0.2466, allocations: 4.195 MB / 484.1 MB, free: 27.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.2466, allocations: 8.812 kB / 484.1 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.2607, allocations: 6.211 MB / 490.3 MB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.2652, allocations: 2.029 MB / 492.3 MB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.2653, allocations: 180.7 kB / 492.5 MB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007984/0.2661, allocations: 314.8 kB / 492.8 MB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.2783, allocations: 10.73 MB / 0.4917 GB, free: 19.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.2784, allocations: 22.28 kB / 0.4917 GB, free: 19.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/0.2787, allocations: 119.8 kB / 0.4919 GB, free: 19.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002155/0.2808, allocations: 2.459 MB / 0.4943 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.2944, allocations: 10.16 MB / 0.5042 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03774/0.3321, allocations: 33.33 MB / 0.5367 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007443/0.3396, allocations: 4.587 MB / 0.5412 GB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.342, allocations: 2.188 MB / 0.5433 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009949/0.343, allocations: 0.544 MB / 0.5439 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.343, allocations: 52.56 kB / 0.5439 GB, free: 15.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 6.522e-06/0.343, allocations: 3.938 kB / 0.5439 GB, free: 15.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02342/0.3665, allocations: 15.16 MB / 0.5587 GB, free: 15.83 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009286/0.3674, allocations: 1.5 MB / 0.5602 GB, free: 14.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.3705, allocations: 2.985 MB / 0.5631 GB, free: 11.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.3708, allocations: 53.69 kB / 0.5632 GB, free: 11.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.3719, allocations: 2.764 MB / 0.5659 GB, free: 8.352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006664/0.3726, allocations: 0.8797 MB / 0.5667 GB, free: 7.465 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.3736, allocations: 1.108 MB / 0.5678 GB, free: 6.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.3737, allocations: 305.1 kB / 0.5681 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.3766, allocations: 2.849 MB / 0.5709 GB, free: 3.188 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/0.3808, allocations: 5.854 MB / 0.5766 GB, free: 11.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/0.3886, allocations: 9.359 MB / 0.5857 GB, free: 1.035 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.996e-05/0.3887, allocations: 32 kB / 0.5858 GB, free: 1.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05299/0.4417, allocations: 33.35 MB / 0.6183 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.4417, allocations: 48 kB / 0.6184 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2435/0.6853, allocations: 23.39 MB / 0.6412 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03873/0.724, allocations: 23.34 MB / 0.664 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/0.7273, allocations: 1.319 MB / 0.6653 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/0.7522, allocations: 27.18 MB / 0.6918 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.7557, allocations: 0.5544 MB / 0.6924 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007609/0.7565, allocations: 320 kB / 0.6927 GB, free: 135.1 MB / 0.5261 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.003713/0.7602, allocations: 2.025 MB / 0.6947 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/0.7607, allocations: 272.1 kB / 0.6949 GB, free: 133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004955/0.7656, allocations: 5.1 MB / 0.6999 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004004/0.7696, allocations: 4.397 MB / 0.7042 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7697, allocations: 7.875 kB / 0.7042 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.7697, allocations: 10.78 kB / 0.7042 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.7812, allocations: 11.57 MB / 0.7155 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7812, allocations: 8 kB / 0.7155 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.7822, allocations: 463.2 kB / 0.716 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/0.7836, allocations: 0.9411 MB / 0.7169 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.7837, allocations: 51.8 kB / 0.7169 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003312/0.787, allocations: 5.552 MB / 0.7224 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003966/0.7874, allocations: 1.431 MB / 0.7238 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.7934, allocations: 7.703 MB / 0.7313 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006212/0.794, allocations: 281.3 kB / 0.7315 GB, free: 95.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.7943, allocations: 43.98 kB / 0.7316 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.7952, allocations: 236.3 kB / 0.7318 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.7954, allocations: 152.8 kB / 0.732 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.7955, allocations: 70.8 kB / 0.732 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001697/0.7972, allocations: 1.72 MB / 0.7337 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7972, allocations: 3.172 kB / 0.7337 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0039/0.8011, allocations: 1.229 MB / 0.7349 GB, free: 91.94 MB / 0.5261 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.0005275/0.8017, allocations: 196.3 kB / 0.7351 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006959/0.8086, allocations: 6.844 MB / 0.7418 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.8086, allocations: 4 kB / 0.7418 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/0.8107, allocations: 2.297 MB / 0.744 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.8123, allocations: 311 kB / 0.7443 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.824, allocations: 10.42 MB / 0.7545 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/0.826, allocations: 2.604 MB / 0.757 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/0.827, allocations: 261 kB / 0.7573 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.362e-06/0.827, allocations: 0 / 0.7573 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.281/1.108, allocations: 115.4 MB / 0.87 GB, free: 161.1 MB / 0.5417 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 9.087675858289003]