Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3109/0.3109, allocations: 32.8 MB / 294.3 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.915e-05/4.14e-05, allocations: 9.344 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01335/0.01339, allocations: 10.76 MB / 386.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008659/0.02205, allocations: 4.03 MB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.0254, allocations: 75.62 kB / 390.9 MB, free: 5.727 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006214/0.03162, allocations: 3.021 MB / 393.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007137/0.03876, allocations: 1.87 MB / 395.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.04124, allocations: 0.7601 MB / 396.5 MB, free: 56 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005967/0.0472, allocations: 4.082 MB / 400.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/0.05111, allocations: 3.222 MB / 403.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.05469, allocations: 2.296 MB / 406.1 MB, free: 6.371 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.05864, allocations: 2.171 MB / 408.3 MB, free: 4.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.05993, allocations: 336 kB / 408.6 MB, free: 3.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.06218, allocations: 1.139 MB / 409.8 MB, free: 2.727 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001516/0.0637, allocations: 2.014 MB / 411.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.0657, allocations: 1.266 MB / 413 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005454/0.07115, allocations: 4.406 MB / 417.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.07116, allocations: 4 kB / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.07116, allocations: 0 / 417.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000249/0.07141, allocations: 0 / 417.5 MB, free: 11.01 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.007314/0.07872, allocations: 4.989 MB / 422.4 MB, free: 5.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.07878, allocations: 12.03 kB / 422.5 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.08281, allocations: 2.432 MB / 424.9 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.08529, allocations: 1.987 MB / 426.9 MB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.08541, allocations: 246.6 kB / 427.1 MB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/0.08592, allocations: 408.3 kB / 427.5 MB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008952/0.09487, allocations: 6.085 MB / 433.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.09498, allocations: 39.69 kB / 433.6 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003204/0.0953, allocations: 151.9 kB / 433.8 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001639/0.09694, allocations: 1.759 MB / 435.5 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007686/0.1046, allocations: 3.318 MB / 438.9 MB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2292/0.3338, allocations: 42.14 MB / 481 MB, free: 47.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004728/0.3386, allocations: 2.231 MB / 483.2 MB, free: 47.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008595/0.3394, allocations: 0.5989 MB / 483.8 MB, free: 47.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005464/0.3449, allocations: 4.589 MB / 488.4 MB, free: 45.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3449, allocations: 52.73 kB / 488.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.987e-06/0.3449, allocations: 0 / 488.5 MB, free: 45.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01507/0.36, allocations: 9.159 MB / 497.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007612/0.3608, allocations: 2.046 MB / 499.7 MB, free: 39.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/0.3644, allocations: 3.286 MB / 0.4912 GB, free: 38.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.3646, allocations: 47.81 kB / 0.4912 GB, free: 38.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.3661, allocations: 3.287 MB / 0.4944 GB, free: 36.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005923/0.3667, allocations: 0.6499 MB / 0.4951 GB, free: 35.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.368, allocations: 1.248 MB / 0.4963 GB, free: 34.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.069e-05/0.368, allocations: 477.9 kB / 0.4967 GB, free: 34.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.3693, allocations: 0.6838 MB / 0.4974 GB, free: 34.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/0.3723, allocations: 6.041 MB / 0.5033 GB, free: 27.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/0.3776, allocations: 7.441 MB / 0.5106 GB, free: 19.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/0.3777, allocations: 37.12 kB / 0.5106 GB, free: 19.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01084/0.3886, allocations: 6.518 MB / 0.517 GB, free: 17.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.199e-05/0.3886, allocations: 58.58 kB / 0.517 GB, free: 17.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005097/0.3937, allocations: 2.243 MB / 0.5192 GB, free: 17.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00552/0.3993, allocations: 1.838 MB / 0.521 GB, free: 17.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.402, allocations: 1.325 MB / 0.5223 GB, free: 17.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.4058, allocations: 4.848 MB / 0.5271 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/0.4093, allocations: 439.2 kB / 0.5275 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004743/0.4097, allocations: 357.8 kB / 0.5278 GB, free: 13.38 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.001346/0.4111, allocations: 0.6458 MB / 0.5284 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.4116, allocations: 341.2 kB / 0.5288 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003722/0.412, allocations: 346 kB / 0.5291 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002008/0.414, allocations: 1.204 MB / 0.5303 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.414, allocations: 4 kB / 0.5303 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.414, allocations: 7.5 kB / 0.5303 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008126/0.4221, allocations: 6.076 MB / 0.5362 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4222, allocations: 4 kB / 0.5362 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.4228, allocations: 248.9 kB / 0.5365 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0013/0.4241, allocations: 0.563 MB / 0.537 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.4242, allocations: 37.95 kB / 0.537 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.4264, allocations: 4.272 MB / 0.5412 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005295/0.4269, allocations: 1.906 MB / 0.5431 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.4308, allocations: 2.668 MB / 0.5457 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.4316, allocations: 297.9 kB / 0.546 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.4319, allocations: 30.89 kB / 0.546 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/0.4327, allocations: 159.7 kB / 0.5462 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.4329, allocations: 101.5 kB / 0.5462 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.4329, allocations: 39.98 kB / 0.5463 GB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002047/0.435, allocations: 1.389 MB / 0.5476 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.435, allocations: 0 / 0.5476 GB, free: 11.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004352/0.4393, allocations: 1.06 MB / 0.5487 GB, free: 10.39 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.0005451/0.4399, allocations: 179.3 kB / 0.5488 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007077/0.447, allocations: 3.577 MB / 0.5523 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.447, allocations: 0 / 0.5523 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.4489, allocations: 1.406 MB / 0.5537 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.4508, allocations: 398.6 kB / 0.5541 GB, free: 4.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.4624, allocations: 7.411 MB / 0.5613 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.4637, allocations: 1.163 MB / 0.5625 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002461/0.4661, allocations: 1.513 MB / 0.5639 GB, free: 10.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.4666, allocations: 216.4 kB / 0.5642 GB, free: 10.35 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4666, allocations: 0.6562 kB / 0.5642 GB, free: 10.35 MB / 442.7 MB Notification: Performance of Templates: time 0.04932/0.516, allocations: 34.08 MB / 0.5974 GB, free: 8.773 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8601827109232545]