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.0019/0.0019, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.001941/0.001941, allocations: 169.2 kB / 23.52 MB, free: 0.8984 MB / 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 1.436/1.436, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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.205/0.205, allocations: 32.37 MB / 270 MB, free: 14.77 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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",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.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.673e-05, allocations: 6.25 kB / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01317/0.01321, allocations: 11.3 MB / 358.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.02447, allocations: 3.969 MB / 362.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0029/0.02737, allocations: 71.69 kB / 362.3 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003568/0.03093, allocations: 1.249 MB / 363.5 MB, free: 9.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005613/0.03655, allocations: 1.863 MB / 365.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.03851, allocations: 0.6155 MB / 366 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006886/0.04539, allocations: 4.57 MB / 370.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/0.04954, allocations: 2.267 MB / 372.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.05359, allocations: 1.878 MB / 374.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/0.05758, allocations: 2.085 MB / 376.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007288/0.05831, allocations: 228 kB / 377 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.06113, allocations: 1.256 MB / 378.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.06326, allocations: 1.722 MB / 380 MB, free: 8.605 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.06515, allocations: 1.004 MB / 381 MB, free: 7.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.07605, allocations: 6.303 MB / 387.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.07606, allocations: 0 / 387.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.07606, allocations: 0 / 387.3 MB, free: 1.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002224/0.07628, allocations: 0 / 387.3 MB, free: 1.273 MB / 314.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.01298/0.08927, allocations: 5.031 MB / 392.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.08932, allocations: 8.031 kB / 392.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/0.1111, allocations: 6.246 MB / 398.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.1175, allocations: 1.849 MB / 400.5 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.1178, allocations: 180.8 kB / 400.6 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.1193, allocations: 312.5 kB / 400.9 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.1365, allocations: 6.094 MB / 407 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.065e-05/0.1366, allocations: 23.81 kB / 407.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004227/0.137, allocations: 119.8 kB / 407.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/0.1418, allocations: 2.459 MB / 409.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01537/0.1571, allocations: 4.345 MB / 414 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2565/0.4136, allocations: 43.08 MB / 457.1 MB, free: 75.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009814/0.4234, allocations: 2.559 MB / 459.6 MB, free: 75.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.4248, allocations: 0.6655 MB / 460.3 MB, free: 75.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.4259, allocations: 0.5132 MB / 460.8 MB, free: 75.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.4259, allocations: 57.08 kB / 460.9 MB, free: 75.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 5.049e-06/0.4259, allocations: 0 / 460.9 MB, free: 75.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.02641/0.4523, allocations: 8.972 MB / 469.8 MB, free: 74.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009984/0.4533, allocations: 1.989 MB / 471.8 MB, free: 72.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.4585, allocations: 3.405 MB / 475.2 MB, free: 71.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006136/0.4591, allocations: 53.58 kB / 475.3 MB, free: 71.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.4609, allocations: 3.07 MB / 478.3 MB, free: 69.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.4622, allocations: 0.9879 MB / 479.3 MB, free: 69.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/0.464, allocations: 1.375 MB / 480.7 MB, free: 68.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.464, allocations: 476.8 kB / 481.2 MB, free: 67.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.466, allocations: 0.8721 MB / 482 MB, free: 67.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.4708, allocations: 5.485 MB / 487.5 MB, free: 59.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007834/0.4786, allocations: 7.092 MB / 494.6 MB, free: 50.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001211/0.4787, allocations: 28 kB / 494.6 MB, free: 50.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.08488/0.5636, allocations: 34.82 MB / 0.5171 GB, free: 15.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.5637, allocations: 48.94 kB / 0.5171 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06744/0.6311, allocations: 24.43 MB / 0.541 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1274/0.7585, allocations: 34.2 MB / 0.5744 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/0.7641, allocations: 1.318 MB / 0.5756 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/0.7983, allocations: 11.58 MB / 0.587 GB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/0.8041, allocations: 0.593 MB / 0.5875 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001083/0.8051, allocations: 320 kB / 0.5878 GB, free: 6.895 MB / 442.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 (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.002665/0.8078, allocations: 0.6794 MB / 0.5885 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009648/0.8088, allocations: 326.2 kB / 0.5888 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007862/0.8166, allocations: 2.773 MB / 0.5915 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005664/0.8223, allocations: 1.876 MB / 0.5934 GB, free: 1.191 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.8223, allocations: 4 kB / 0.5934 GB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.8223, allocations: 7.969 kB / 0.5934 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/0.8473, allocations: 8.953 MB / 0.6021 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.8473, allocations: 9.875 kB / 0.6021 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.8497, allocations: 455.2 kB / 0.6025 GB, free: 7.586 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/0.8526, allocations: 0.6236 MB / 0.6032 GB, free: 6.949 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002854/0.8529, allocations: 43.98 kB / 0.6032 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/0.8593, allocations: 4.46 MB / 0.6076 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001669/0.8609, allocations: 1.924 MB / 0.6094 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2175/1.078, allocations: 3.351 MB / 0.6127 GB, free: 165.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.08, allocations: 288.9 kB / 0.613 GB, free: 165.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/1.08, allocations: 42.81 kB / 0.613 GB, free: 165.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.083, allocations: 250.5 kB / 0.6133 GB, free: 165.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004519/1.083, allocations: 148.2 kB / 0.6134 GB, free: 165.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001858/1.083, allocations: 69.97 kB / 0.6135 GB, free: 165.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002646/1.086, allocations: 1.372 MB / 0.6148 GB, free: 165.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.086, allocations: 0 / 0.6148 GB, free: 165.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005978/1.092, allocations: 1.253 MB / 0.616 GB, free: 165.3 MB / 458.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.0007982/1.093, allocations: 197 kB / 0.6162 GB, free: 165.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.011/1.104, allocations: 4.487 MB / 0.6206 GB, free: 164.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.486e-05/1.104, allocations: 0 / 0.6206 GB, free: 164.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/1.106, allocations: 1.385 MB / 0.622 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/1.109, allocations: 319.7 kB / 0.6223 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.122, allocations: 7.997 MB / 0.6301 GB, free: 160.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.125, allocations: 2.313 MB / 0.6323 GB, free: 159.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003626/1.129, allocations: 1.653 MB / 0.6339 GB, free: 158.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/1.129, allocations: 212.6 kB / 0.6341 GB, free: 158.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.315e-06/1.129, allocations: 0 / 0.6341 GB, free: 158.5 MB / 458.7 MB Notification: Performance of Templates: time 0.06973/1.199, allocations: 49.46 MB / 0.6824 GB, free: 109.3 MB / 458.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.28092656400986]