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.0007905/0.0007905, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008623/0.0008623, allocations: 161.1 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9829/0.9829, allocations: 177 MB / 205.2 MB, free: 5.465 MB / 186.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.2473/0.2473, allocations: 34.86 MB / 296.6 MB, free: 0.5234 MB / 266.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.633e-06/1.633e-06, allocations: 0 / 326 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.317e-05, allocations: 10 kB / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009302/0.009325, allocations: 11.07 MB / 337 MB, free: 12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.01528, allocations: 4.104 MB / 341.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005407/0.01583, allocations: 67.75 kB / 341.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.01717, allocations: 1.241 MB / 342.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.01919, allocations: 1.816 MB / 344.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.0199, allocations: 0.5922 MB / 344.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002895/0.0228, allocations: 4.708 MB / 349.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.0241, allocations: 2.105 MB / 351.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.02549, allocations: 1.812 MB / 353.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.02699, allocations: 1.96 MB / 355.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.02721, allocations: 224 kB / 355.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.02854, allocations: 1.283 MB / 356.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008643/0.02941, allocations: 1.694 MB / 358.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006867/0.0301, allocations: 0.9769 MB / 359.6 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.03352, allocations: 4.195 MB / 363.8 MB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.03352, allocations: 4 kB / 363.8 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.03352, allocations: 0 / 363.8 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.585e-05/0.03356, allocations: 0 / 363.8 MB, free: 1.121 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.003781/0.03734, allocations: 3.795 MB / 367.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.0374, allocations: 12.02 kB / 367.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004798/0.0422, allocations: 1.686 MB / 369.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.04376, allocations: 1.527 MB / 370.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.04384, allocations: 176.8 kB / 371 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004821/0.04432, allocations: 304.5 kB / 371.3 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.04883, allocations: 4.549 MB / 375.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.04887, allocations: 19.81 kB / 375.9 MB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.04909, allocations: 119.8 kB / 376 MB, free: 4.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/0.05084, allocations: 2.139 MB / 378.1 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.05508, allocations: 2.838 MB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01919/0.07426, allocations: 25.26 MB / 406.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003803/0.07807, allocations: 2.283 MB / 408.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.07863, allocations: 449.1 kB / 408.9 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.07918, allocations: 0.4972 MB / 409.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.07922, allocations: 56.55 kB / 409.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 3.407e-06/0.07922, allocations: 0 / 409.5 MB, free: 2.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01834/0.09756, allocations: 5.608 MB / 415.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001066/0.09862, allocations: 1.411 MB / 416.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.1018, allocations: 2.381 MB / 418.9 MB, free: 8.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.1021, allocations: 57.69 kB / 418.9 MB, free: 8.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.1039, allocations: 2.676 MB / 421.6 MB, free: 5.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009851/0.1049, allocations: 0.8717 MB / 422.5 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/0.1067, allocations: 1.006 MB / 423.5 MB, free: 3.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1068, allocations: 309 kB / 423.8 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.1095, allocations: 0.8895 MB / 424.7 MB, free: 2.562 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/0.1139, allocations: 3.742 MB / 428.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007961/0.1218, allocations: 5.189 MB / 433.6 MB, free: 6.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.1219, allocations: 32 kB / 433.7 MB, free: 6.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.03833/0.1603, allocations: 5.028 MB / 438.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.1604, allocations: 48 kB / 438.7 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01806/0.1785, allocations: 1.892 MB / 440.6 MB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02893/0.2074, allocations: 3.341 MB / 444 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0029/0.2103, allocations: 1.213 MB / 445.2 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.2204, allocations: 4.225 MB / 449.4 MB, free: 6.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/0.2226, allocations: 208 kB / 449.6 MB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.2229, allocations: 276 kB / 449.9 MB, free: 6.18 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 (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.001062/0.224, allocations: 0.5278 MB / 450.4 MB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.2242, allocations: 199.8 kB / 450.6 MB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.2268, allocations: 1.868 MB / 452.5 MB, free: 3.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001881/0.2287, allocations: 1.107 MB / 453.6 MB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2287, allocations: 4.188 kB / 453.6 MB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2287, allocations: 11.95 kB / 453.6 MB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1554/0.3841, allocations: 5.354 MB / 458.9 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.3841, allocations: 6.562 kB / 458.9 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.3851, allocations: 312.3 kB / 459.3 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.3863, allocations: 0.4959 MB / 459.7 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.3864, allocations: 52.41 kB / 459.8 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.3884, allocations: 3.024 MB / 462.8 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003438/0.3887, allocations: 1.346 MB / 464.2 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.3916, allocations: 2.318 MB / 466.5 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.3919, allocations: 258.9 kB / 466.7 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.3921, allocations: 51.92 kB / 466.8 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.3927, allocations: 34.78 kB / 466.8 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.3929, allocations: 144.5 kB / 467 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/0.393, allocations: 57.94 kB / 467 MB, free: 116 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005898/0.3936, allocations: 0.8407 MB / 467.9 MB, free: 115.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3936, allocations: 3.828 kB / 467.9 MB, free: 115.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003217/0.3968, allocations: 1.228 MB / 469.1 MB, free: 115.9 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.0003565/0.3971, allocations: 176.5 kB / 469.3 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004304/0.4015, allocations: 2.845 MB / 472.1 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001114/0.4016, allocations: 61.44 kB / 472.2 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4028, allocations: 0.9087 MB / 473.1 MB, free: 115.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4044, allocations: 0.5614 MB / 473.6 MB, free: 115.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/0.4124, allocations: 7.615 MB / 481.3 MB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.4135, allocations: 1.161 MB / 482.4 MB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001225/0.4147, allocations: 413 kB / 482.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009896/0.4157, allocations: 451.6 kB / 483.3 MB, free: 107.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4157, allocations: 4 kB / 483.3 MB, free: 107.5 MB / 426.7 MB Notification: Performance of Templates: time 0.05862/0.4743, allocations: 51.22 MB / 0.522 GB, free: 57.9 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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.9970924900844693]