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.001247/0.001247, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001726/0.001726, allocations: 160.5 kB / 24.56 MB, free: 8 kB / 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 1.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.574 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.2505/0.2505, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.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 1.362e-06/1.362e-06, allocations: 0 / 378.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.898e-05, allocations: 2.312 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008646/0.008675, allocations: 10.77 MB / 389.5 MB, free: 7.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006336/0.01501, allocations: 4.034 MB / 393.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.01597, allocations: 79.56 kB / 393.6 MB, free: 3.148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.01908, allocations: 3.014 MB / 396.6 MB, free: 128 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.02193, allocations: 1.862 MB / 398.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.02299, allocations: 0.7757 MB / 399.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003578/0.02657, allocations: 4.069 MB / 403.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.02918, allocations: 3.226 MB / 406.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.03151, allocations: 2.304 MB / 408.9 MB, free: 3.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.03367, allocations: 2.163 MB / 411 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004279/0.0341, allocations: 339.9 kB / 411.4 MB, free: 1.293 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.03563, allocations: 1.131 MB / 412.5 MB, free: 164 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.03693, allocations: 2.022 MB / 414.5 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.03807, allocations: 1.262 MB / 415.8 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.04203, allocations: 4.402 MB / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.04203, allocations: 0 / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.04203, allocations: 0 / 420.2 MB, free: 8.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.323e-05/0.04211, allocations: 4 kB / 420.2 MB, free: 8.445 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.004939/0.04704, allocations: 4.997 MB / 425.2 MB, free: 3.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.04709, allocations: 12.03 kB / 425.2 MB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003869/0.05095, allocations: 2.428 MB / 427.6 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.05308, allocations: 1.96 MB / 429.6 MB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.0532, allocations: 242.6 kB / 429.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.05371, allocations: 412.3 kB / 430.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006403/0.06012, allocations: 6.082 MB / 436.3 MB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.349e-05/0.06018, allocations: 35.64 kB / 436.3 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.06043, allocations: 159.9 kB / 436.5 MB, free: 7.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001478/0.06191, allocations: 1.763 MB / 438.3 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/0.06745, allocations: 3.32 MB / 441.6 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/0.2455, allocations: 42.13 MB / 483.7 MB, free: 56.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.2519, allocations: 2.234 MB / 486 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009975/0.2529, allocations: 0.6079 MB / 486.6 MB, free: 55.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006533/0.2594, allocations: 4.577 MB / 491.1 MB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2594, allocations: 58.05 kB / 491.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.426e-06/0.2594, allocations: 0 / 491.2 MB, free: 53.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01934/0.2788, allocations: 9.151 MB / 0.4886 GB, free: 50.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009592/0.2797, allocations: 2.041 MB / 0.4906 GB, free: 48.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.2837, allocations: 3.283 MB / 0.4938 GB, free: 46.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002376/0.284, allocations: 49.23 kB / 0.4939 GB, free: 46.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.2857, allocations: 3.293 MB / 0.4971 GB, free: 44.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/0.2864, allocations: 0.6493 MB / 0.4977 GB, free: 43.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/0.2879, allocations: 1.252 MB / 0.4989 GB, free: 43.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.2879, allocations: 477.9 kB / 0.4994 GB, free: 42.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.2893, allocations: 0.6809 MB / 0.5001 GB, free: 42.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002914/0.2922, allocations: 6.036 MB / 0.5059 GB, free: 35.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.297, allocations: 7.451 MB / 0.5132 GB, free: 27.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.769e-05/0.2971, allocations: 48.62 kB / 0.5133 GB, free: 27.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01059/0.3076, allocations: 6.506 MB / 0.5196 GB, free: 25.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.3077, allocations: 60.58 kB / 0.5197 GB, free: 25.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005139/0.3128, allocations: 2.252 MB / 0.5219 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/0.3182, allocations: 1.836 MB / 0.5237 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.321, allocations: 1.325 MB / 0.525 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.3257, allocations: 4.834 MB / 0.5297 GB, free: 18.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/0.3298, allocations: 448.6 kB / 0.5301 GB, free: 18.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003616/0.3302, allocations: 354 kB / 0.5305 GB, free: 17.83 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.001215/0.3314, allocations: 0.637 MB / 0.5311 GB, free: 17.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/0.3318, allocations: 349.8 kB / 0.5314 GB, free: 16.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3321, allocations: 340.3 kB / 0.5317 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001916/0.334, allocations: 1.208 MB / 0.5329 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.334, allocations: 4 kB / 0.5329 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.334, allocations: 3.75 kB / 0.5329 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/0.3411, allocations: 6.08 MB / 0.5389 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3411, allocations: 2.875 kB / 0.5389 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.3417, allocations: 247.7 kB / 0.5391 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.3429, allocations: 0.5718 MB / 0.5397 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.343, allocations: 31.98 kB / 0.5397 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002209/0.3452, allocations: 4.277 MB / 0.5439 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004519/0.3457, allocations: 1.905 MB / 0.5457 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/0.3486, allocations: 2.667 MB / 0.5483 GB, free: 180 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005183/0.3492, allocations: 286.1 kB / 0.5486 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.3493, allocations: 31.98 kB / 0.5486 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007397/0.3501, allocations: 155.8 kB / 0.5488 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.3503, allocations: 100.5 kB / 0.5489 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/0.3504, allocations: 43.98 kB / 0.5489 GB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001602/0.352, allocations: 1.385 MB / 0.5503 GB, free: 14.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.352, allocations: 0 / 0.5503 GB, free: 14.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003694/0.3557, allocations: 1.065 MB / 0.5513 GB, free: 13.13 MB / 426.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.0003742/0.356, allocations: 178.3 kB / 0.5515 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005786/0.3618, allocations: 3.577 MB / 0.555 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3618, allocations: 0 / 0.555 GB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.3638, allocations: 1.407 MB / 0.5564 GB, free: 7.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.3655, allocations: 394.5 kB / 0.5567 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.3756, allocations: 7.415 MB / 0.564 GB, free: 4 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/0.3765, allocations: 1.167 MB / 0.5651 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002172/0.3787, allocations: 1.526 MB / 0.5666 GB, free: 13.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.3791, allocations: 212.4 kB / 0.5668 GB, free: 13.07 MB / 442.7 MB Notification: Performance of SimCode: time 2.104e-06/0.3791, allocations: 4 kB / 0.5668 GB, free: 13.07 MB / 442.7 MB Notification: Performance of Templates: time 0.04436/0.4235, allocations: 33.01 MB / 0.599 GB, free: 12.56 MB / 474.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.675542781129479]