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.001046/0.001046, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004681/0.004681, allocations: 160.7 kB / 24.7 MB, free: 9.43 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.8704/0.8704, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.233/0.233, allocations: 34.26 MB / 295.7 MB, free: 0.6836 MB / 266.7 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.352e-06/1.352e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.67e-05, allocations: 2.281 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.1677/0.1678, allocations: 10.27 MB / 453.7 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004961/0.1727, allocations: 3.862 MB / 457.6 MB, free: 36.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1739, allocations: 70.91 kB / 457.6 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.1756, allocations: 1.213 MB / 458.9 MB, free: 35.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.1784, allocations: 1.827 MB / 460.7 MB, free: 34.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009792/0.1794, allocations: 0.6028 MB / 461.3 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.1825, allocations: 4.709 MB / 466 MB, free: 33.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.1842, allocations: 2.172 MB / 468.2 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001611/0.1858, allocations: 1.86 MB / 470 MB, free: 31.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.1875, allocations: 2.066 MB / 472.1 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.1878, allocations: 225.3 kB / 472.3 MB, free: 30.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.1894, allocations: 1.248 MB / 473.6 MB, free: 30.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008614/0.1902, allocations: 1.68 MB / 475.2 MB, free: 30.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007211/0.1909, allocations: 0.9911 MB / 476.2 MB, free: 29.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.1966, allocations: 6.218 MB / 482.5 MB, free: 27.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1966, allocations: 0 / 482.5 MB, free: 27.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1966, allocations: 5 kB / 482.5 MB, free: 27.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000191/0.1968, allocations: 0 / 482.5 MB, free: 27.42 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.008335/0.2051, allocations: 4.183 MB / 486.6 MB, free: 25.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.2051, allocations: 13.92 kB / 486.7 MB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.218, allocations: 6.215 MB / 492.9 MB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.2226, allocations: 2.018 MB / 494.9 MB, free: 23.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.2228, allocations: 180.2 kB / 495.1 MB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.224, allocations: 319.4 kB / 495.4 MB, free: 22.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.2384, allocations: 10.73 MB / 0.4942 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.274e-05/0.2384, allocations: 23.53 kB / 0.4943 GB, free: 17.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.2387, allocations: 115.5 kB / 0.4944 GB, free: 16.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/0.2407, allocations: 2.461 MB / 0.4968 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.2536, allocations: 10.17 MB / 0.5067 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.2908, allocations: 33.32 MB / 0.5393 GB, free: 2.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007105/0.2979, allocations: 4.593 MB / 0.5437 GB, free: 13.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/0.3002, allocations: 2.188 MB / 0.5459 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.3009, allocations: 0.5402 MB / 0.5464 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3009, allocations: 48.56 kB / 0.5465 GB, free: 11.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 5.079e-06/0.3009, allocations: 3.938 kB / 0.5465 GB, free: 11.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.02351/0.3244, allocations: 15.16 MB / 0.5613 GB, free: 11.91 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000947/0.3253, allocations: 1.492 MB / 0.5627 GB, free: 10.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.3284, allocations: 2.985 MB / 0.5656 GB, free: 7.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005025/0.3289, allocations: 53.7 kB / 0.5657 GB, free: 7.238 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.3305, allocations: 2.768 MB / 0.5684 GB, free: 4.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000926/0.3314, allocations: 0.8758 MB / 0.5692 GB, free: 3.559 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.3325, allocations: 1.108 MB / 0.5703 GB, free: 2.438 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.3326, allocations: 305.1 kB / 0.5706 GB, free: 2.137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/0.3354, allocations: 2.849 MB / 0.5734 GB, free: 15.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004483/0.3399, allocations: 5.854 MB / 0.5791 GB, free: 7.953 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008955/0.3488, allocations: 9.359 MB / 0.5883 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.973e-05/0.3489, allocations: 36 kB / 0.5883 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0528/0.4017, allocations: 33.35 MB / 0.6209 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.4018, allocations: 51.94 kB / 0.6209 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2331/0.6349, allocations: 23.38 MB / 0.6437 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03761/0.6725, allocations: 23.33 MB / 0.6665 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.6757, allocations: 1.319 MB / 0.6678 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0236/0.6993, allocations: 27.2 MB / 0.6944 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/0.7028, allocations: 0.5501 MB / 0.6949 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005629/0.7034, allocations: 319.3 kB / 0.6952 GB, free: 128.6 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.002643/0.706, allocations: 2.021 MB / 0.6972 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/0.7064, allocations: 274 kB / 0.6974 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.7109, allocations: 5.096 MB / 0.7024 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003811/0.7147, allocations: 4.4 MB / 0.7067 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7148, allocations: 0 / 0.7067 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.7148, allocations: 7.969 kB / 0.7067 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.7264, allocations: 11.58 MB / 0.718 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.7265, allocations: 7.469 kB / 0.7181 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.7275, allocations: 463.2 kB / 0.7185 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.7289, allocations: 0.9359 MB / 0.7194 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.729, allocations: 57.23 kB / 0.7195 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003414/0.7324, allocations: 5.545 MB / 0.7249 GB, free: 98.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004531/0.7329, allocations: 1.426 MB / 0.7263 GB, free: 96.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/0.7389, allocations: 7.71 MB / 0.7338 GB, free: 89.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.7396, allocations: 284.9 kB / 0.7341 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.7398, allocations: 39.98 kB / 0.7341 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/0.7406, allocations: 247.5 kB / 0.7343 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.7408, allocations: 144.9 kB / 0.7345 GB, free: 88.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-05/0.7409, allocations: 71.64 kB / 0.7346 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001609/0.7426, allocations: 1.72 MB / 0.7362 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.7426, allocations: 4 kB / 0.7362 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00336/0.7459, allocations: 1.224 MB / 0.7374 GB, free: 85.46 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.0004398/0.7464, allocations: 194.5 kB / 0.7376 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006636/0.753, allocations: 6.844 MB / 0.7443 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.753, allocations: 4 kB / 0.7443 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.755, allocations: 2.297 MB / 0.7465 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.7566, allocations: 304.9 kB / 0.7468 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.7684, allocations: 10.42 MB / 0.757 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/0.7703, allocations: 2.62 MB / 0.7596 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/0.7715, allocations: 256.4 kB / 0.7598 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of SimCode: time 2.364e-06/0.7715, allocations: 0 / 0.7598 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.2816/1.053, allocations: 115.4 MB / 0.8725 GB, free: 157.2 MB / 0.5417 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: 8.692647900432348]