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.001429/0.001429, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001518/0.001518, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.867/0.867, allocations: 158.6 MB / 185.7 MB, free: 2.91 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.1262/0.1262, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 2.274e-06/2.274e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.06e-05, allocations: 13.34 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008316/0.008347, allocations: 11.37 MB / 359.1 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005539/0.01389, allocations: 3.984 MB / 363 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.01448, allocations: 67.75 kB / 363.1 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.01584, allocations: 1.249 MB / 364.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.01804, allocations: 1.875 MB / 366.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007919/0.01883, allocations: 0.6117 MB / 366.8 MB, free: 6.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003468/0.0223, allocations: 4.567 MB / 371.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.02418, allocations: 2.271 MB / 373.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.02593, allocations: 1.882 MB / 375.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.02764, allocations: 2.077 MB / 377.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.02792, allocations: 224 kB / 377.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.02982, allocations: 1.275 MB / 379.1 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.03095, allocations: 1.718 MB / 380.9 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.03184, allocations: 1 MB / 381.9 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.03576, allocations: 4.257 MB / 386.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.03576, allocations: 3.984 kB / 386.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.03576, allocations: 0 / 386.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.865e-05/0.03579, allocations: 0 / 386.1 MB, free: 2.844 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.005386/0.04118, allocations: 4.66 MB / 390.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.04121, allocations: 8.031 kB / 390.8 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.05573, allocations: 6.234 MB / 397 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.05833, allocations: 1.913 MB / 398.9 MB, free: 5.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.05846, allocations: 180.8 kB / 399.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006183/0.05908, allocations: 304.5 kB / 399.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008227/0.0673, allocations: 5.723 MB / 405.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/0.06736, allocations: 23.81 kB / 405.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.06765, allocations: 111.8 kB / 405.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003094/0.07074, allocations: 2.455 MB / 407.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008274/0.07901, allocations: 3.829 MB / 411.5 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02714/0.1062, allocations: 35.31 MB / 446.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005154/0.1113, allocations: 2.923 MB / 449.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.1124, allocations: 0.6458 MB / 450.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006039/0.1131, allocations: 0.5206 MB / 450.9 MB, free: 244 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1131, allocations: 55.39 kB / 451 MB, free: 180 kB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 4.148e-06/0.1131, allocations: 0 / 451 MB, free: 180 kB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.1642/0.2773, allocations: 8.875 MB / 459.9 MB, free: 96.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000622/0.278, allocations: 1.957 MB / 461.8 MB, free: 94.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.28, allocations: 2.708 MB / 464.5 MB, free: 94.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.2802, allocations: 53.78 kB / 464.6 MB, free: 94.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/0.2811, allocations: 2.911 MB / 467.5 MB, free: 92.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.2815, allocations: 0.9303 MB / 468.4 MB, free: 92.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009152/0.2825, allocations: 1.172 MB / 469.6 MB, free: 92.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.258e-05/0.2825, allocations: 480.7 kB / 470.1 MB, free: 91.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.2837, allocations: 0.8317 MB / 470.9 MB, free: 91.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/0.2858, allocations: 5.281 MB / 476.2 MB, free: 85.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/0.2898, allocations: 6.755 MB / 482.9 MB, free: 77.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-05/0.2899, allocations: 28 kB / 483 MB, free: 77.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.04657/0.3364, allocations: 34.73 MB / 0.5056 GB, free: 44.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.3365, allocations: 52 kB / 0.5056 GB, free: 44.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03737/0.3739, allocations: 24.4 MB / 0.5294 GB, free: 19.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05832/0.4322, allocations: 34.19 MB / 0.5628 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/0.4355, allocations: 1.318 MB / 0.5641 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/0.4546, allocations: 11.24 MB / 0.5751 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004166/0.4588, allocations: 0.593 MB / 0.5757 GB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007028/0.4595, allocations: 322.3 kB / 0.576 GB, free: 3.879 MB / 410.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.001519/0.461, allocations: 0.5784 MB / 0.5765 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/0.4615, allocations: 340.9 kB / 0.5769 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.4665, allocations: 2.623 MB / 0.5794 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00389/0.4704, allocations: 1.831 MB / 0.5812 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4704, allocations: 4 kB / 0.5812 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.4704, allocations: 7.969 kB / 0.5812 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.4848, allocations: 7.926 MB / 0.589 GB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.4849, allocations: 4 kB / 0.589 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/0.4864, allocations: 463.2 kB / 0.5894 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002197/0.4886, allocations: 0.6035 MB / 0.59 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/0.4888, allocations: 46 kB / 0.59 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1575/0.6463, allocations: 4.408 MB / 0.5943 GB, free: 133.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007882/0.6471, allocations: 1.909 MB / 0.5962 GB, free: 131.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005038/0.6521, allocations: 3.228 MB / 0.5994 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006972/0.6528, allocations: 283.6 kB / 0.5996 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.6531, allocations: 47.95 kB / 0.5997 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.6541, allocations: 241 kB / 0.5999 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.6544, allocations: 157.6 kB / 0.6001 GB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/0.6545, allocations: 69.8 kB / 0.6001 GB, free: 130.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.6562, allocations: 1.158 MB / 0.6013 GB, free: 130.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6562, allocations: 0.5625 kB / 0.6013 GB, free: 130.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004011/0.6602, allocations: 1.258 MB / 0.6025 GB, free: 130.4 MB / 426.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.0004891/0.6607, allocations: 200.6 kB / 0.6027 GB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007169/0.6678, allocations: 4.235 MB / 0.6068 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.6678, allocations: 2.656 kB / 0.6068 GB, free: 129.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001983/0.6698, allocations: 1.322 MB / 0.6081 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.6717, allocations: 324.7 kB / 0.6084 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.6835, allocations: 7.891 MB / 0.6161 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.6846, allocations: 1.169 MB / 0.6173 GB, free: 124.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003109/0.6878, allocations: 1.656 MB / 0.6189 GB, free: 124 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006886/0.6884, allocations: 213.4 kB / 0.6191 GB, free: 123.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.594e-06/0.6884, allocations: 2.734 kB / 0.6191 GB, free: 123.8 MB / 426.7 MB Notification: Performance of Templates: time 0.06095/0.7494, allocations: 50.34 MB / 0.6683 GB, free: 75.8 MB / 426.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.593500598799437]