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.001242/0.001242, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001443/0.001443, allocations: 161.8 kB / 24.99 MB, free: 8.77 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 1.052/1.052, allocations: 177 MB / 205.2 MB, free: 5.613 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.2713/0.2713, allocations: 34.86 MB / 296.6 MB, free: 480 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 1.463e-06/1.463e-06, allocations: 0 / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.032e-05, allocations: 4.562 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008616/0.008636, allocations: 10.74 MB / 389.5 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.0145, allocations: 4.014 MB / 393.5 MB, free: 3.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01555, allocations: 79.56 kB / 393.6 MB, free: 3.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.01902, allocations: 2.998 MB / 396.6 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.0221, allocations: 1.866 MB / 398.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.02315, allocations: 0.7757 MB / 399.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.02655, allocations: 4.072 MB / 403.3 MB, free: 9.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.02895, allocations: 3.238 MB / 406.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.031, allocations: 2.288 MB / 408.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.03315, allocations: 2.171 MB / 411 MB, free: 2.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003516/0.0335, allocations: 336 kB / 411.3 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.03489, allocations: 1.135 MB / 412.4 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.03611, allocations: 2.018 MB / 414.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009998/0.03711, allocations: 1.254 MB / 415.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.04053, allocations: 4.414 MB / 420.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.04054, allocations: 0 / 420.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.04054, allocations: 0 / 420.1 MB, free: 8.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.04058, allocations: 4 kB / 420.1 MB, free: 8.824 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.004773/0.04535, allocations: 4.993 MB / 425.1 MB, free: 3.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.04538, allocations: 8.031 kB / 425.1 MB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0051/0.05048, allocations: 2.432 MB / 427.6 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.05253, allocations: 1.964 MB / 429.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.05265, allocations: 242.5 kB / 429.8 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.05317, allocations: 404.3 kB / 430.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006956/0.06012, allocations: 6.085 MB / 436.2 MB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.198e-05/0.06019, allocations: 39.64 kB / 436.3 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.06045, allocations: 151.9 kB / 436.4 MB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/0.06225, allocations: 1.767 MB / 438.2 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005781/0.06803, allocations: 3.324 MB / 441.5 MB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1721/0.2401, allocations: 42.13 MB / 483.6 MB, free: 61.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/0.2445, allocations: 2.23 MB / 485.9 MB, free: 61.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.2452, allocations: 0.5973 MB / 486.5 MB, free: 61.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004265/0.2494, allocations: 4.598 MB / 491.1 MB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2495, allocations: 56.86 kB / 491.1 MB, free: 58.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.817e-06/0.2495, allocations: 0 / 491.1 MB, free: 58.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01403/0.2635, allocations: 9.146 MB / 0.4885 GB, free: 55.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008895/0.2644, allocations: 2.052 MB / 0.4906 GB, free: 53.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.2677, allocations: 3.281 MB / 0.4938 GB, free: 52.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.2678, allocations: 43.14 kB / 0.4938 GB, free: 52.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.269, allocations: 3.29 MB / 0.497 GB, free: 49.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005429/0.2696, allocations: 0.6491 MB / 0.4976 GB, free: 49.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.2707, allocations: 1.257 MB / 0.4989 GB, free: 48.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.2708, allocations: 476.8 kB / 0.4993 GB, free: 48.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.2719, allocations: 0.6777 MB / 0.5 GB, free: 48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002503/0.2744, allocations: 6.041 MB / 0.5059 GB, free: 40.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004405/0.2788, allocations: 7.449 MB / 0.5132 GB, free: 32.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.405e-05/0.2789, allocations: 38.66 kB / 0.5132 GB, free: 32.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.009893/0.2888, allocations: 6.512 MB / 0.5196 GB, free: 30.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.2888, allocations: 61.5 kB / 0.5196 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005152/0.294, allocations: 2.242 MB / 0.5218 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/0.2991, allocations: 1.835 MB / 0.5236 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.3012, allocations: 1.323 MB / 0.5249 GB, free: 26.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/0.3052, allocations: 4.84 MB / 0.5296 GB, free: 22.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.3085, allocations: 443.1 kB / 0.53 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.3088, allocations: 353.4 kB / 0.5304 GB, free: 21.58 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.00107/0.3098, allocations: 0.6531 MB / 0.531 GB, free: 20.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.3102, allocations: 341.9 kB / 0.5313 GB, free: 20.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.3104, allocations: 344.8 kB / 0.5317 GB, free: 20.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001876/0.3123, allocations: 1.203 MB / 0.5328 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3123, allocations: 3.984 kB / 0.5328 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3123, allocations: 7.984 kB / 0.5329 GB, free: 19.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007059/0.3194, allocations: 6.076 MB / 0.5388 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.3194, allocations: 6.938 kB / 0.5388 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.32, allocations: 247.6 kB / 0.539 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/0.3212, allocations: 0.5642 MB / 0.5396 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.3213, allocations: 31.98 kB / 0.5396 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.3233, allocations: 4.272 MB / 0.5438 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004051/0.3237, allocations: 1.912 MB / 0.5457 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.3266, allocations: 2.667 MB / 0.5483 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.3269, allocations: 293.8 kB / 0.5485 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.3271, allocations: 31.98 kB / 0.5486 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007014/0.3278, allocations: 151.8 kB / 0.5487 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.328, allocations: 96.8 kB / 0.5488 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.3281, allocations: 47.92 kB / 0.5488 GB, free: 2.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001182/0.3293, allocations: 1.389 MB / 0.5502 GB, free: 0.957 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3293, allocations: 0 / 0.5502 GB, free: 0.957 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003425/0.3327, allocations: 1.055 MB / 0.5512 GB, free: 15.9 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.0003353/0.333, allocations: 182.3 kB / 0.5514 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004879/0.3379, allocations: 3.578 MB / 0.5549 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3379, allocations: 0 / 0.5549 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.3397, allocations: 1.399 MB / 0.5563 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.3409, allocations: 394.8 kB / 0.5566 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/0.349, allocations: 7.425 MB / 0.5639 GB, free: 2.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/0.3499, allocations: 1.167 MB / 0.565 GB, free: 1.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00205/0.352, allocations: 1.516 MB / 0.5665 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/0.3524, allocations: 220.4 kB / 0.5667 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3524, allocations: 0 / 0.5667 GB, free: 15.83 MB / 442.7 MB Notification: Performance of Templates: time 0.1831/0.5355, allocations: 33 MB / 0.599 GB, free: 132.2 MB / 458.7 MB " [Timeout remaining time 659] 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.510481282835826]