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.001773/0.001773, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002327/0.002327, allocations: 157.7 kB / 24.27 MB, free: 176 kB / 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 1.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.39/0.39, allocations: 32.79 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.003e-06/2.003e-06, allocations: 0 / 375.3 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.781e-05, allocations: 9.484 kB / 375.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01438/0.01441, allocations: 10.27 MB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008944/0.02336, allocations: 3.866 MB / 389.4 MB, free: 6.797 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.0246, allocations: 71.75 kB / 389.5 MB, free: 6.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002736/0.02733, allocations: 1.222 MB / 390.7 MB, free: 5.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.03165, allocations: 1.836 MB / 392.5 MB, free: 3.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.03316, allocations: 0.6117 MB / 393.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006901/0.04006, allocations: 4.698 MB / 397.9 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003571/0.04363, allocations: 2.263 MB / 400.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.04728, allocations: 1.859 MB / 402 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003445/0.05073, allocations: 2.069 MB / 404 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004979/0.05122, allocations: 227.9 kB / 404.3 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.05379, allocations: 1.256 MB / 405.5 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.05577, allocations: 1.679 MB / 407.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.05724, allocations: 0.9808 MB / 408.2 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008908/0.06615, allocations: 6.229 MB / 414.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.06616, allocations: 0 / 414.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.06616, allocations: 0 / 414.4 MB, free: 13.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.06635, allocations: 0 / 414.4 MB, free: 13.71 MB / 394.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.009934/0.07629, allocations: 4.189 MB / 418.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.07633, allocations: 8.031 kB / 418.6 MB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/0.09904, allocations: 6.819 MB / 425.4 MB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.1041, allocations: 2.03 MB / 427.5 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.1043, allocations: 184.8 kB / 427.6 MB, free: 388 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009698/0.1052, allocations: 312.5 kB / 427.9 MB, free: 76 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/0.1254, allocations: 10.72 MB / 438.7 MB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.454e-05/0.1255, allocations: 27.77 kB / 438.7 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.1259, allocations: 111.8 kB / 438.8 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00444/0.1303, allocations: 2.471 MB / 441.3 MB, free: 2.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1879/0.3182, allocations: 10.16 MB / 451.4 MB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06129/0.3795, allocations: 33.39 MB / 484.8 MB, free: 75.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01455/0.3941, allocations: 4.592 MB / 489.4 MB, free: 74.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.3974, allocations: 2.186 MB / 491.6 MB, free: 73.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.3987, allocations: 0.5626 MB / 492.2 MB, free: 73.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.3987, allocations: 55.03 kB / 492.2 MB, free: 73.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 5.56e-06/0.3987, allocations: 1.531 kB / 492.2 MB, free: 73.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.03328/0.432, allocations: 15.22 MB / 0.4955 GB, free: 64.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009418/0.4329, allocations: 1.496 MB / 0.497 GB, free: 62.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.4363, allocations: 2.975 MB / 0.4999 GB, free: 60.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.4367, allocations: 61.45 kB / 0.5 GB, free: 60.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4379, allocations: 2.785 MB / 0.5027 GB, free: 57.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.4386, allocations: 0.8703 MB / 0.5035 GB, free: 57.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/0.4399, allocations: 1.107 MB / 0.5046 GB, free: 56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.4399, allocations: 301.1 kB / 0.5049 GB, free: 55.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.443, allocations: 2.855 MB / 0.5077 GB, free: 53.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/0.447, allocations: 5.857 MB / 0.5134 GB, free: 46.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007957/0.455, allocations: 9.359 MB / 0.5226 GB, free: 35.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.773e-05/0.4551, allocations: 28 kB / 0.5226 GB, free: 35.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.07919/0.5343, allocations: 33.64 MB / 0.5554 GB, free: 1.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.5343, allocations: 52.06 kB / 0.5555 GB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07101/0.6053, allocations: 23.39 MB / 0.5783 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2715/0.8769, allocations: 30.58 MB / 0.6082 GB, free: 135.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/0.8815, allocations: 1.319 MB / 0.6095 GB, free: 135.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03929/0.9208, allocations: 27.21 MB / 0.636 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/0.9261, allocations: 0.5485 MB / 0.6366 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/0.9271, allocations: 326.2 kB / 0.6369 GB, free: 127.7 MB / 458.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.003877/0.931, allocations: 2.018 MB / 0.6389 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/0.9318, allocations: 339.8 kB / 0.6392 GB, free: 126.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008334/0.9402, allocations: 5.094 MB / 0.6442 GB, free: 125.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00688/0.947, allocations: 4.395 MB / 0.6485 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.9471, allocations: 3.875 kB / 0.6485 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/0.9471, allocations: 7.781 kB / 0.6485 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.966, allocations: 11.63 MB / 0.6598 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.9661, allocations: 8 kB / 0.6598 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.968, allocations: 460.1 kB / 0.6603 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/0.9707, allocations: 0.9466 MB / 0.6612 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.9709, allocations: 51.97 kB / 0.6612 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.9763, allocations: 5.55 MB / 0.6667 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008606/0.9772, allocations: 1.43 MB / 0.6681 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00996/0.9871, allocations: 7.77 MB / 0.6756 GB, free: 99.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.9881, allocations: 279.1 kB / 0.6759 GB, free: 99.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.9884, allocations: 44 kB / 0.6759 GB, free: 99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.9899, allocations: 239 kB / 0.6762 GB, free: 98.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000408/0.9903, allocations: 144.9 kB / 0.6763 GB, free: 98.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.9905, allocations: 79.84 kB / 0.6764 GB, free: 98.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002142/0.9927, allocations: 1.722 MB / 0.6781 GB, free: 96.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.9927, allocations: 0 / 0.6781 GB, free: 96.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004907/0.9976, allocations: 1.222 MB / 0.6793 GB, free: 95.61 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.0005115/0.9981, allocations: 198.7 kB / 0.6795 GB, free: 95.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009623/1.008, allocations: 6.847 MB / 0.6861 GB, free: 88.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.008, allocations: 0 / 0.6861 GB, free: 88.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002957/1.011, allocations: 2.301 MB / 0.6884 GB, free: 86.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.013, allocations: 327 kB / 0.6887 GB, free: 85.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/1.027, allocations: 10.13 MB / 0.6986 GB, free: 75.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.03, allocations: 2.615 MB / 0.7011 GB, free: 73.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003993/1.034, allocations: 2.054 MB / 0.7031 GB, free: 71.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/1.035, allocations: 208.4 kB / 0.7033 GB, free: 70.81 MB / 458.7 MB Notification: Performance of SimCode: time 2.154e-06/1.035, allocations: 0 / 0.7033 GB, free: 70.81 MB / 458.7 MB Notification: Performance of Templates: time 0.06098/1.096, allocations: 47.04 MB / 0.7493 GB, free: 24.07 MB / 458.7 MB " [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: 7.40903892100323]