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.001129/0.001129, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002726, allocations: 457.8 kB / 10.45 MB, free: 244 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.001072/0.001072, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.002155, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.072/1.072, allocations: 177.5 MB / 190 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09519/1.167, allocations: 53.87 MB / 243.9 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.3099/0.3099, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03342/0.3434, allocations: 13.23 MB / 292.8 MB, free: 6.426 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 2.054e-06/2.054e-06, allocations: 0 / 294.1 MB, free: 5.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.284e-05, allocations: 4.094 kB / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01316/0.01319, allocations: 11.16 MB / 305.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00779/0.02098, allocations: 4.141 MB / 309.4 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.02222, allocations: 67.75 kB / 309.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.02372, allocations: 1.237 MB / 310.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002661/0.02638, allocations: 1.82 MB / 312.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.0274, allocations: 0.5572 MB / 313.1 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003872/0.03127, allocations: 4.601 MB / 317.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.03343, allocations: 1.82 MB / 319.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.03576, allocations: 1.909 MB / 321.4 MB, free: 9.676 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.03798, allocations: 1.94 MB / 323.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000516/0.03849, allocations: 232 kB / 323.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.04045, allocations: 1.275 MB / 324.9 MB, free: 6.227 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.04139, allocations: 1.527 MB / 326.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007118/0.0421, allocations: 0.7979 MB / 327.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.0453, allocations: 3.887 MB / 331.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-05/0.04531, allocations: 0 / 331.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.04531, allocations: 0 / 331.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.408e-05/0.04536, allocations: 7.938 kB / 331.1 MB, free: 15.98 MB / 330.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.004078/0.04944, allocations: 4.587 MB / 335.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.04947, allocations: 8.922 kB / 335.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/0.054, allocations: 1.686 MB / 337.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.05563, allocations: 1.515 MB / 338.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.05572, allocations: 184.8 kB / 339.1 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004746/0.05619, allocations: 312.4 kB / 339.4 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005023/0.06121, allocations: 4.531 MB / 343.9 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.06126, allocations: 27.75 kB / 343.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/0.06153, allocations: 119.8 kB / 344 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/0.06333, allocations: 2.038 MB / 346.1 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.06751, allocations: 2.802 MB / 348.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.09323, allocations: 25.25 MB / 374.1 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/0.09766, allocations: 2.256 MB / 376.4 MB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.09833, allocations: 442.7 kB / 376.8 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.09891, allocations: 0.505 MB / 377.3 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.09895, allocations: 60.59 kB / 377.4 MB, free: 256 kB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 5.39e-06/0.09896, allocations: 0 / 377.4 MB, free: 256 kB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01277/0.1117, allocations: 5.764 MB / 383.1 MB, free: 10.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008221/0.1126, allocations: 1.418 MB / 384.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.1149, allocations: 2.384 MB / 386.9 MB, free: 6.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.1151, allocations: 57.69 kB / 387 MB, free: 6.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.1163, allocations: 2.672 MB / 389.7 MB, free: 3.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005947/0.1169, allocations: 0.8679 MB / 390.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.118, allocations: 1.006 MB / 391.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.118, allocations: 309.1 kB / 391.8 MB, free: 1.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.1195, allocations: 0.8779 MB / 392.7 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.1228, allocations: 3.73 MB / 396.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/0.1279, allocations: 5.446 MB / 401.9 MB, free: 4.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.542e-05/0.128, allocations: 32 kB / 401.9 MB, free: 4.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01747/0.1455, allocations: 4.811 MB / 406.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.1456, allocations: 52 kB / 406.8 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001447/0.1457, allocations: 116.2 kB / 406.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02692/0.1726, allocations: 3.343 MB / 410.3 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.1758, allocations: 1.295 MB / 411.5 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/0.1857, allocations: 4.185 MB / 415.7 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.1885, allocations: 204 kB / 415.9 MB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005841/0.1891, allocations: 276 kB / 416.2 MB, free: 5.988 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.001919/0.191, allocations: 0.5318 MB / 416.7 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.1915, allocations: 195.8 kB / 416.9 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.1941, allocations: 1.868 MB / 418.8 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001751/0.1958, allocations: 1.107 MB / 419.9 MB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1958, allocations: 4 kB / 419.9 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.1959, allocations: 7.969 kB / 419.9 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.2059, allocations: 5.337 MB / 425.2 MB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.458e-05/0.206, allocations: 23.98 kB / 425.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.2071, allocations: 336 kB / 425.6 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/0.2079, allocations: 270.1 kB / 425.9 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.2093, allocations: 0.5017 MB / 426.4 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/0.2095, allocations: 47.97 kB / 426.4 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.213, allocations: 2.977 MB / 429.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000995/0.214, allocations: 1.339 MB / 430.7 MB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.2179, allocations: 2.321 MB / 433 MB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.2183, allocations: 39.98 kB / 433.1 MB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.219, allocations: 40 kB / 433.1 MB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.2192, allocations: 152.8 kB / 433.3 MB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.2193, allocations: 55.97 kB / 433.3 MB, free: 4.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009637/0.2203, allocations: 0.857 MB / 434.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2203, allocations: 0 / 434.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004063/0.2244, allocations: 1.234 MB / 435.4 MB, free: 1.973 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.0005198/0.2249, allocations: 175.9 kB / 435.6 MB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1506/0.3755, allocations: 2.933 MB / 438.5 MB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003031/0.3758, allocations: 80.5 kB / 438.6 MB, free: 122.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.3784, allocations: 1.471 MB / 440.1 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.3804, allocations: 1.693 MB / 441.8 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3909, allocations: 7.903 MB / 449.7 MB, free: 118.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/0.3919, allocations: 1.166 MB / 450.8 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001207/0.3931, allocations: 405.9 kB / 451.2 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/0.3938, allocations: 428.7 kB / 451.7 MB, free: 118 MB / 426.7 MB Notification: Performance of SimCode: time 3.216e-06/0.3938, allocations: 0 / 451.7 MB, free: 118 MB / 426.7 MB Notification: Performance of Templates: time 0.06038/0.4542, allocations: 50.33 MB / 0.4902 GB, free: 72.24 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.852266906760633]