Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008069/0.0008069, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001859, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002463, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.07/1.07, allocations: 177.4 MB / 189.9 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1156/1.185, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2822/0.2822, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02054/0.3027, allocations: 13.23 MB / 292.6 MB, free: 6.449 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.075e-05, allocations: 2.312 kB / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.007952/0.007963, allocations: 11.15 MB / 305 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006218/0.01418, allocations: 4.143 MB / 309.2 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006899/0.01487, allocations: 71.75 kB / 309.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.01623, allocations: 1.23 MB / 310.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.01821, allocations: 1.82 MB / 312.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007606/0.01897, allocations: 0.5609 MB / 312.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.02192, allocations: 4.597 MB / 317.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.02312, allocations: 1.832 MB / 319.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.02435, allocations: 1.905 MB / 321.2 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.026, allocations: 1.941 MB / 323.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002026/0.0262, allocations: 224 kB / 323.3 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.0274, allocations: 1.287 MB / 324.6 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008282/0.02823, allocations: 1.519 MB / 326.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000632/0.02886, allocations: 0.798 MB / 326.9 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.03168, allocations: 3.902 MB / 330.8 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.372e-05/0.0317, allocations: 0 / 330.8 MB, free: 40 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0317, allocations: 0 / 330.8 MB, free: 40 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.03173, allocations: 0 / 330.8 MB, free: 40 kB / 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.00355/0.03528, allocations: 4.587 MB / 335.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.03531, allocations: 8.922 kB / 335.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004575/0.03989, allocations: 1.686 MB / 337.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.04139, allocations: 1.523 MB / 338.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.04147, allocations: 184.8 kB / 338.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004481/0.04192, allocations: 300.5 kB / 339.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.04617, allocations: 4.542 MB / 343.7 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.04622, allocations: 23.8 kB / 343.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.04643, allocations: 111.8 kB / 343.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.04816, allocations: 2.167 MB / 346 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.05191, allocations: 2.806 MB / 348.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/0.07087, allocations: 25.25 MB / 374 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/0.07475, allocations: 2.251 MB / 376.3 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.07528, allocations: 439.4 kB / 376.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/0.07584, allocations: 0.5089 MB / 377.2 MB, free: 252 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.07588, allocations: 56.56 kB / 377.3 MB, free: 184 kB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 3.647e-06/0.07588, allocations: 0 / 377.3 MB, free: 184 kB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01117/0.08705, allocations: 5.534 MB / 382.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006853/0.08774, allocations: 1.411 MB / 384.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.08967, allocations: 2.392 MB / 386.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.08979, allocations: 49.7 kB / 386.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009492/0.09074, allocations: 2.664 MB / 389.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004355/0.09117, allocations: 0.8795 MB / 390.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008564/0.09203, allocations: 1.006 MB / 391.2 MB, free: 2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.09208, allocations: 305.1 kB / 391.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.09334, allocations: 0.8856 MB / 392.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.09602, allocations: 3.746 MB / 396.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.1001, allocations: 5.193 MB / 401.3 MB, free: 4.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-05/0.1001, allocations: 32 kB / 401.4 MB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02023/0.1203, allocations: 5.037 MB / 406.4 MB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.1204, allocations: 52 kB / 406.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01397/0.1344, allocations: 1.903 MB / 408.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02738/0.1617, allocations: 3.339 MB / 411.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/0.165, allocations: 1.302 MB / 413 MB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/0.1745, allocations: 4.231 MB / 417.2 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.1771, allocations: 204 kB / 417.4 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/0.1775, allocations: 280 kB / 417.7 MB, free: 4.301 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 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],spherical.sphereColor[1],spherical.sphereColor[2],spherical.sphereColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * 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.00141/0.1789, allocations: 0.5279 MB / 418.2 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.1792, allocations: 195.7 kB / 418.4 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.1819, allocations: 1.872 MB / 420.3 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001753/0.1837, allocations: 1.107 MB / 421.4 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1837, allocations: 4 kB / 421.4 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.1837, allocations: 7.969 kB / 421.4 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007163/0.1909, allocations: 5.356 MB / 426.8 MB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.1909, allocations: 8 kB / 426.8 MB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009767/0.1919, allocations: 332.4 kB / 427.1 MB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.1921, allocations: 262.1 kB / 427.3 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.1932, allocations: 0.4979 MB / 427.8 MB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.925e-05/0.1933, allocations: 55.95 kB / 427.9 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.1954, allocations: 3.024 MB / 430.9 MB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005475/0.196, allocations: 1.347 MB / 432.3 MB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.1991, allocations: 2.309 MB / 434.6 MB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.1993, allocations: 47.97 kB / 434.6 MB, free: 2.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.1999, allocations: 35.94 kB / 434.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.2001, allocations: 148.9 kB / 434.8 MB, free: 2.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.2002, allocations: 51.98 kB / 434.9 MB, free: 2.348 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006455/0.2008, allocations: 0.8427 MB / 435.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2008, allocations: 0 / 435.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002852/0.2037, allocations: 1.226 MB / 436.9 MB, free: 272 kB / 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.0003549/0.204, allocations: 184.6 kB / 437.1 MB, free: 80 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1387/0.3428, allocations: 2.832 MB / 439.9 MB, free: 123.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001467/0.3429, allocations: 75.12 kB / 440 MB, free: 123.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.3441, allocations: 0.912 MB / 440.9 MB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.3461, allocations: 0.7837 MB / 441.7 MB, free: 123 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/0.3553, allocations: 7.91 MB / 449.6 MB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008175/0.3561, allocations: 1.169 MB / 450.8 MB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009898/0.3571, allocations: 412.2 kB / 451.2 MB, free: 119.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007239/0.3578, allocations: 458.3 kB / 451.6 MB, free: 119.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3578, allocations: 0 / 451.6 MB, free: 119.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05054/0.4084, allocations: 51.65 MB / 0.4915 GB, free: 71.61 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.14399816095829]