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.001002/0.001002, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.0009723/0.0009723, allocations: 169 kB / 24.24 MB, free: 308 kB / 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 0.9457/0.9457, allocations: 158.6 MB / 186 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] 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.139/0.139, allocations: 32.37 MB / 270.7 MB, free: 14.76 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.[0-9,]+.|body.w_a.[0-9,]+.",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.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.594e-05, allocations: 10.19 kB / 347.7 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.006952/0.006968, allocations: 11.34 MB / 359 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005496/0.01246, allocations: 3.969 MB / 363 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006181/0.01308, allocations: 67.75 kB / 363.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.01442, allocations: 1.249 MB / 364.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.01634, allocations: 1.867 MB / 366.2 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.01702, allocations: 0.6078 MB / 366.8 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.01972, allocations: 4.567 MB / 371.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.02113, allocations: 2.267 MB / 373.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.02248, allocations: 1.882 MB / 375.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.02418, allocations: 2.085 MB / 377.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002105/0.02439, allocations: 224 kB / 377.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.02569, allocations: 1.267 MB / 379.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009737/0.02667, allocations: 1.722 MB / 380.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007192/0.02739, allocations: 1.004 MB / 381.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.03058, allocations: 4.257 MB / 386.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.03059, allocations: 0 / 386.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03059, allocations: 0 / 386.1 MB, free: 3.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.765e-05/0.03062, allocations: 0 / 386.1 MB, free: 3.238 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.004624/0.03524, allocations: 4.656 MB / 390.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.03529, allocations: 8.031 kB / 390.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.04607, allocations: 6.242 MB / 397 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/0.0486, allocations: 1.842 MB / 398.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.57e-05/0.0487, allocations: 188.8 kB / 399 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005042/0.0492, allocations: 308.5 kB / 399.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007514/0.05671, allocations: 5.715 MB / 405 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.566e-05/0.05677, allocations: 23.81 kB / 405 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.05701, allocations: 115.8 kB / 405.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002308/0.05932, allocations: 2.463 MB / 407.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007178/0.0665, allocations: 3.819 MB / 411.4 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.1002, allocations: 35.31 MB / 446.7 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007263/0.1075, allocations: 2.917 MB / 449.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.1087, allocations: 0.6536 MB / 450.3 MB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/0.1097, allocations: 0.5128 MB / 450.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.1098, allocations: 55.39 kB / 450.9 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 4.899e-06/0.1098, allocations: 0 / 450.9 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.1758/0.2856, allocations: 8.875 MB / 459.7 MB, free: 85.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007796/0.2864, allocations: 1.965 MB / 461.7 MB, free: 83.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.2894, allocations: 2.706 MB / 464.4 MB, free: 83.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.2896, allocations: 53.7 kB / 464.5 MB, free: 83.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.2908, allocations: 2.916 MB / 467.4 MB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006056/0.2914, allocations: 0.9259 MB / 468.3 MB, free: 81.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.2928, allocations: 1.169 MB / 469.5 MB, free: 80.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.831e-05/0.2928, allocations: 480.7 kB / 469.9 MB, free: 80.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.2944, allocations: 0.8303 MB / 470.8 MB, free: 80.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.2972, allocations: 5.286 MB / 476.1 MB, free: 74.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.3024, allocations: 6.743 MB / 482.8 MB, free: 69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.47e-05/0.3024, allocations: 29.88 kB / 482.8 MB, free: 69 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.05031/0.3527, allocations: 34.73 MB / 0.5054 GB, free: 38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.3528, allocations: 48 kB / 0.5055 GB, free: 37.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03459/0.3874, allocations: 24.39 MB / 0.5293 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06141/0.4488, allocations: 34.2 MB / 0.5627 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.4517, allocations: 1.31 MB / 0.564 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.4689, allocations: 11.25 MB / 0.575 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.4729, allocations: 0.601 MB / 0.5756 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.4733, allocations: 320 kB / 0.5759 GB, free: 13.5 MB / 426.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.001781/0.4751, allocations: 0.5838 MB / 0.5764 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.4755, allocations: 330.1 kB / 0.5767 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.4792, allocations: 2.63 MB / 0.5793 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00292/0.4821, allocations: 1.831 MB / 0.5811 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4821, allocations: 4 kB / 0.5811 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4822, allocations: 7.969 kB / 0.5811 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.4923, allocations: 7.917 MB / 0.5888 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.4923, allocations: 8 kB / 0.5889 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.4934, allocations: 460 kB / 0.5893 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.4948, allocations: 0.6143 MB / 0.5899 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.495, allocations: 47.98 kB / 0.5899 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002999/0.498, allocations: 4.407 MB / 0.5942 GB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007239/0.4987, allocations: 1.909 MB / 0.5961 GB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1763/0.6749, allocations: 3.224 MB / 0.5993 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/0.6758, allocations: 279.1 kB / 0.5995 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.6762, allocations: 44.41 kB / 0.5996 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.6775, allocations: 245.2 kB / 0.5998 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.6778, allocations: 151.5 kB / 0.5999 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.678, allocations: 69.31 kB / 0.6 GB, free: 137.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001641/0.6796, allocations: 1.159 MB / 0.6011 GB, free: 137.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6796, allocations: 3.562 kB / 0.6011 GB, free: 137.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004901/0.6845, allocations: 1.252 MB / 0.6024 GB, free: 137.1 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.0005105/0.685, allocations: 201.5 kB / 0.6026 GB, free: 137 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007918/0.6929, allocations: 4.238 MB / 0.6067 GB, free: 136.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.693, allocations: 6.938 kB / 0.6067 GB, free: 136.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.6947, allocations: 1.318 MB / 0.608 GB, free: 136.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6958, allocations: 315.9 kB / 0.6083 GB, free: 136.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009398/0.7052, allocations: 7.899 MB / 0.616 GB, free: 133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009209/0.7062, allocations: 1.172 MB / 0.6171 GB, free: 132.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002154/0.7083, allocations: 1.65 MB / 0.6188 GB, free: 132.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.7088, allocations: 213.4 kB / 0.619 GB, free: 132.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.704e-06/0.7088, allocations: 0 / 0.619 GB, free: 132.7 MB / 442.7 MB Notification: Performance of Templates: time 0.04938/0.7582, allocations: 49.48 MB / 0.6673 GB, free: 87.63 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.646195673150942]