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.001767/0.001767, allocations: 84.23 kB / 20.2 MB, free: 4.23 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.002066/0.002066, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.438/1.438, 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.2178/0.2178, allocations: 32.37 MB / 270 MB, free: 14.89 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.394e-06/2.394e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.512e-05, allocations: 6.25 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008709/0.008744, allocations: 10.32 MB / 357.3 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00969/0.01843, allocations: 3.867 MB / 361.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.02026, allocations: 71.75 kB / 361.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.02329, allocations: 1.222 MB / 362.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.02824, allocations: 1.867 MB / 364.3 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.0299, allocations: 0.6039 MB / 364.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.03675, allocations: 4.583 MB / 369.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/0.04044, allocations: 2.267 MB / 371.7 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.04397, allocations: 1.882 MB / 373.6 MB, free: 15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.0478, allocations: 2.073 MB / 375.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006017/0.0484, allocations: 232 kB / 375.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.05128, allocations: 1.26 MB / 377.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002039/0.05331, allocations: 1.718 MB / 378.9 MB, free: 9.715 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.05494, allocations: 1 MB / 379.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009485/0.06442, allocations: 6.287 MB / 386.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.06443, allocations: 4 kB / 386.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.06443, allocations: 0 / 386.2 MB, free: 2.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002017/0.06464, allocations: 3.938 kB / 386.2 MB, free: 2.395 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.01051/0.07515, allocations: 4.235 MB / 390.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.07519, allocations: 12.03 kB / 390.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02089/0.09608, allocations: 6.351 MB / 396.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.1025, allocations: 2.081 MB / 398.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.1027, allocations: 176.8 kB / 399 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001515/0.1042, allocations: 316.5 kB / 399.4 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.1252, allocations: 10.73 MB / 410.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.512e-05/0.1253, allocations: 31.75 kB / 410.1 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000408/0.1257, allocations: 111.8 kB / 410.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004356/0.13, allocations: 2.463 MB / 412.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.1529, allocations: 10.17 MB / 422.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2359/0.3889, allocations: 33.41 MB / 456.3 MB, free: 66.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.3991, allocations: 4.58 MB / 460.8 MB, free: 65.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003176/0.4023, allocations: 2.194 MB / 463 MB, free: 64.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.4034, allocations: 0.5649 MB / 463.6 MB, free: 64.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.4034, allocations: 51.84 kB / 463.7 MB, free: 64.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 7.043e-06/0.4034, allocations: 0 / 463.7 MB, free: 64.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.03222/0.4357, allocations: 15.25 MB / 478.9 MB, free: 54.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001317/0.437, allocations: 1.492 MB / 480.4 MB, free: 52.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.4403, allocations: 3.027 MB / 483.4 MB, free: 49.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005442/0.4409, allocations: 57.64 kB / 483.5 MB, free: 49.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.4422, allocations: 2.772 MB / 486.3 MB, free: 46.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009229/0.4431, allocations: 0.8771 MB / 487.1 MB, free: 46.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.4445, allocations: 1.111 MB / 488.2 MB, free: 44.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.4445, allocations: 309.3 kB / 488.5 MB, free: 44.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/0.4476, allocations: 2.849 MB / 491.4 MB, free: 41.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004339/0.4519, allocations: 5.86 MB / 497.3 MB, free: 34.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008537/0.4605, allocations: 9.359 MB / 0.4947 GB, free: 23.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.509e-05/0.4605, allocations: 28 kB / 0.4948 GB, free: 23.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0956/0.5561, allocations: 39.4 MB / 0.5332 GB, free: 144 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.5563, allocations: 51.94 kB / 0.5333 GB, free: 92 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08239/0.6387, allocations: 27.61 MB / 0.5603 GB, free: 4.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.129/0.7677, allocations: 35.57 MB / 0.595 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2152/0.9829, allocations: 1.318 MB / 0.5963 GB, free: 158.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04137/1.024, allocations: 28.45 MB / 0.6241 GB, free: 144.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.03, allocations: 0.5968 MB / 0.6246 GB, free: 143.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.032, allocations: 320 kB / 0.6249 GB, free: 143.2 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.004571/1.036, allocations: 2.021 MB / 0.6269 GB, free: 141.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009242/1.037, allocations: 333.5 kB / 0.6272 GB, free: 141.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00779/1.045, allocations: 5.102 MB / 0.6322 GB, free: 136.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006204/1.051, allocations: 4.393 MB / 0.6365 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.051, allocations: 0 / 0.6365 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/1.051, allocations: 11.97 kB / 0.6365 GB, free: 131.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/1.068, allocations: 11.65 MB / 0.6479 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/1.068, allocations: 10 kB / 0.6479 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.07, allocations: 463.2 kB / 0.6484 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002665/1.073, allocations: 0.9394 MB / 0.6493 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001779/1.073, allocations: 54.94 kB / 0.6493 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005264/1.079, allocations: 5.559 MB / 0.6548 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007642/1.079, allocations: 1.423 MB / 0.6561 GB, free: 111.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.089, allocations: 7.765 MB / 0.6637 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.09, allocations: 293.2 kB / 0.664 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/1.091, allocations: 36 kB / 0.664 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.092, allocations: 250.1 kB / 0.6643 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.093, allocations: 148.8 kB / 0.6644 GB, free: 103 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.093, allocations: 71.97 kB / 0.6645 GB, free: 102.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00215/1.095, allocations: 1.752 MB / 0.6662 GB, free: 101.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.095, allocations: 0 / 0.6662 GB, free: 101.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004782/1.1, allocations: 1.255 MB / 0.6674 GB, free: 99.9 MB / 442.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.0005604/1.1, allocations: 210.3 kB / 0.6676 GB, free: 99.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.111, allocations: 7.044 MB / 0.6745 GB, free: 92.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.808e-05/1.111, allocations: 4 kB / 0.6745 GB, free: 92.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002908/1.113, allocations: 2.292 MB / 0.6767 GB, free: 90.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/1.116, allocations: 326.9 kB / 0.6771 GB, free: 90.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.13, allocations: 10.14 MB / 0.687 GB, free: 79.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/1.133, allocations: 2.618 MB / 0.6895 GB, free: 77.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003828/1.137, allocations: 2.051 MB / 0.6915 GB, free: 75.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007248/1.138, allocations: 208.4 kB / 0.6917 GB, free: 74.86 MB / 442.7 MB Notification: Performance of SimCode: time 3.307e-06/1.138, allocations: 4 kB / 0.6917 GB, free: 74.86 MB / 442.7 MB Notification: Performance of Templates: time 0.06599/1.204, allocations: 47.35 MB / 0.738 GB, free: 27.51 MB / 442.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] 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.315842970972881]