Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.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.001417/0.001417, allocations: 81.81 kB / 21.42 MB, free: 3.062 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.001243/0.001243, allocations: 164.2 kB / 24.82 MB, free: 9.293 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.9868/0.9868, allocations: 177 MB / 205.1 MB, free: 5.469 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.2901/0.2901, allocations: 34.87 MB / 296.6 MB, free: 444 kB / 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.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|body.body.Q.[0-9,]+.|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.374e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/3.456e-05, allocations: 2.312 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.00942/0.009454, allocations: 10.5 MB / 389.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006649/0.0161, allocations: 3.999 MB / 393.7 MB, free: 3.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.01834, allocations: 79.62 kB / 393.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.02214, allocations: 2.971 MB / 396.8 MB, free: 196 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.02617, allocations: 1.87 MB / 398.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.02749, allocations: 0.7679 MB / 399.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004384/0.03187, allocations: 4.084 MB / 403.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.03548, allocations: 3.226 MB / 406.7 MB, free: 6.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.03952, allocations: 2.308 MB / 409 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.04281, allocations: 2.167 MB / 411.2 MB, free: 1.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009772/0.04379, allocations: 336 kB / 411.5 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.04574, allocations: 1.147 MB / 412.7 MB, free: 200 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001804/0.04755, allocations: 2.014 MB / 414.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.04946, allocations: 1.262 MB / 415.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.055, allocations: 4.406 MB / 420.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.05501, allocations: 0 / 420.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.05501, allocations: 4 kB / 420.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002098/0.05522, allocations: 0 / 420.3 MB, free: 8.484 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.006662/0.06188, allocations: 4.836 MB / 425.2 MB, free: 3.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.06193, allocations: 8.031 kB / 425.2 MB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003105/0.06504, allocations: 1.496 MB / 426.7 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.06741, allocations: 1.815 MB / 428.5 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.06754, allocations: 238.6 kB / 428.7 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.06807, allocations: 408.2 kB / 429.1 MB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007442/0.07551, allocations: 5.483 MB / 434.6 MB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.313e-05/0.0756, allocations: 35.69 kB / 434.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.07589, allocations: 155.9 kB / 434.8 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/0.07725, allocations: 1.595 MB / 436.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/0.0832, allocations: 2.599 MB / 439 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.183/0.2662, allocations: 41.65 MB / 480.6 MB, free: 57.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/0.2702, allocations: 1.925 MB / 482.6 MB, free: 57.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.2708, allocations: 0.5048 MB / 483.1 MB, free: 56.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004744/0.2756, allocations: 4.332 MB / 487.4 MB, free: 54.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.2756, allocations: 52.91 kB / 487.5 MB, free: 54.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.357e-06/0.2756, allocations: 0 / 487.5 MB, free: 54.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01212/0.2877, allocations: 5.415 MB / 492.9 MB, free: 53.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006986/0.2884, allocations: 2.021 MB / 494.9 MB, free: 51.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002739/0.2911, allocations: 3.28 MB / 498.2 MB, free: 50.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.2913, allocations: 50.77 kB / 498.2 MB, free: 50.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.2924, allocations: 3.315 MB / 0.4898 GB, free: 48.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004529/0.2929, allocations: 0.6506 MB / 0.4904 GB, free: 47.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009311/0.2938, allocations: 1.27 MB / 0.4917 GB, free: 46.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.2938, allocations: 481.4 kB / 0.4921 GB, free: 46.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.2949, allocations: 0.6207 MB / 0.4927 GB, free: 46.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.2974, allocations: 5.999 MB / 0.4986 GB, free: 38.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/0.302, allocations: 7.329 MB / 0.5057 GB, free: 31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/0.3021, allocations: 41.47 kB / 0.5058 GB, free: 30.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.009741/0.3118, allocations: 5.139 MB / 0.5108 GB, free: 29.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.3119, allocations: 62.47 kB / 0.5109 GB, free: 29.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003583/0.3155, allocations: 1.156 MB / 0.512 GB, free: 28.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/0.3189, allocations: 0.575 MB / 0.5125 GB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.3216, allocations: 1.274 MB / 0.5138 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.3247, allocations: 4.3 MB / 0.518 GB, free: 24.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.3279, allocations: 260.1 kB / 0.5182 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/0.3285, allocations: 313.4 kB / 0.5185 GB, free: 24.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (713): * Single equations (assignments): 704 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.3298, allocations: 0.6344 MB / 0.5192 GB, free: 24.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/0.3303, allocations: 341.5 kB / 0.5195 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.3306, allocations: 344.6 kB / 0.5198 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001404/0.3321, allocations: 0.8614 MB / 0.5206 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.3321, allocations: 3.25 kB / 0.5207 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.3321, allocations: 13.67 kB / 0.5207 GB, free: 23.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006647/0.3387, allocations: 4.764 MB / 0.5253 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.3387, allocations: 0 / 0.5253 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.3393, allocations: 193.8 kB / 0.5255 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.3404, allocations: 363.1 kB / 0.5258 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.3405, allocations: 34.09 kB / 0.5259 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.3424, allocations: 4.012 MB / 0.5298 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004144/0.3428, allocations: 1.872 MB / 0.5316 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/0.3455, allocations: 2.252 MB / 0.5338 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.346, allocations: 285.8 kB / 0.5341 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.3462, allocations: 34.2 kB / 0.5341 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.3468, allocations: 28.45 kB / 0.5342 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.3469, allocations: 95.91 kB / 0.5343 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.347, allocations: 36.11 kB / 0.5343 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00114/0.3481, allocations: 1.299 MB / 0.5356 GB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3481, allocations: 0 / 0.5356 GB, free: 11.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003095/0.3512, allocations: 1.062 MB / 0.5366 GB, free: 10.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003217/0.3515, allocations: 172.5 kB / 0.5368 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.3557, allocations: 3.169 MB / 0.5399 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3557, allocations: 0 / 0.5399 GB, free: 7.277 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.3569, allocations: 1.089 MB / 0.5409 GB, free: 6.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.3588, allocations: 390.6 kB / 0.5413 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.3682, allocations: 7.427 MB / 0.5485 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3694, allocations: 1.165 MB / 0.5497 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001322/0.3707, allocations: 452 kB / 0.5501 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/0.3716, allocations: 0.5564 MB / 0.5507 GB, free: 13.49 MB / 426.7 MB Notification: Performance of SimCode: time 2.605e-06/0.3716, allocations: 3.938 kB / 0.5507 GB, free: 13.49 MB / 426.7 MB Notification: Performance of Templates: time 0.05139/0.423, allocations: 35.78 MB / 0.5856 GB, free: 10.12 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Frames/AngularVelocity/AngularVelocity.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.297097361646593]