Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001344/0.001344, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009886/0.0009886, allocations: 161 kB / 24.56 MB, free: 12 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 0.9318/0.9318, allocations: 177.1 MB / 205 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2765/0.2765, allocations: 34.27 MB / 295.7 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.519e-05, allocations: 6.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008597/0.008622, allocations: 10.76 MB / 388.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.01538, allocations: 4.038 MB / 392.8 MB, free: 3.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.01726, allocations: 83.56 kB / 392.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003545/0.02081, allocations: 3.018 MB / 395.9 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.02449, allocations: 1.87 MB / 397.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.02574, allocations: 0.764 MB / 398.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004207/0.02994, allocations: 4.065 MB / 402.6 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.03343, allocations: 3.222 MB / 405.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.03676, allocations: 2.307 MB / 408.1 MB, free: 4.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.03961, allocations: 2.159 MB / 410.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008028/0.04041, allocations: 336 kB / 410.6 MB, free: 1.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.04225, allocations: 1.139 MB / 411.8 MB, free: 0.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001814/0.04406, allocations: 2.022 MB / 413.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001899/0.04596, allocations: 1.258 MB / 415.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.05097, allocations: 4.414 MB / 419.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.05098, allocations: 0 / 419.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.05098, allocations: 0 / 419.5 MB, free: 8.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.05112, allocations: 0 / 419.5 MB, free: 8.988 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.005839/0.05696, allocations: 4.993 MB / 424.5 MB, free: 3.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.05701, allocations: 8.031 kB / 424.5 MB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004309/0.06131, allocations: 2.436 MB / 426.9 MB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.0638, allocations: 1.987 MB / 428.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.06392, allocations: 254.4 kB / 429.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005081/0.06442, allocations: 400.4 kB / 429.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008854/0.07328, allocations: 6.085 MB / 435.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.918e-05/0.07337, allocations: 39.69 kB / 435.7 MB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.07364, allocations: 155.9 kB / 435.8 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/0.07513, allocations: 1.763 MB / 437.6 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007291/0.08242, allocations: 3.319 MB / 440.9 MB, free: 2.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1742/0.2567, allocations: 42.14 MB / 483 MB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004614/0.2613, allocations: 2.228 MB / 485.3 MB, free: 56.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.262, allocations: 0.5994 MB / 485.9 MB, free: 56.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00492/0.2669, allocations: 4.594 MB / 490.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.267, allocations: 51.8 kB / 490.5 MB, free: 54.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 4.719e-06/0.267, allocations: 0 / 490.5 MB, free: 54.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01404/0.281, allocations: 9.148 MB / 499.6 MB, free: 50.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007531/0.2818, allocations: 2.043 MB / 0.4899 GB, free: 48.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.285, allocations: 3.279 MB / 0.4931 GB, free: 47.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/0.2852, allocations: 47.33 kB / 0.4932 GB, free: 47.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.2865, allocations: 3.287 MB / 0.4964 GB, free: 44.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/0.287, allocations: 0.6548 MB / 0.497 GB, free: 44.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.2881, allocations: 1.256 MB / 0.4983 GB, free: 43.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.2881, allocations: 478 kB / 0.4987 GB, free: 43.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.2893, allocations: 0.6852 MB / 0.4994 GB, free: 43.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.2918, allocations: 6.038 MB / 0.5053 GB, free: 35.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004697/0.2965, allocations: 7.454 MB / 0.5126 GB, free: 27.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/0.2967, allocations: 39.25 kB / 0.5126 GB, free: 27.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01076/0.3074, allocations: 6.507 MB / 0.5189 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.3075, allocations: 58.38 kB / 0.519 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005026/0.3125, allocations: 2.248 MB / 0.5212 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005261/0.3178, allocations: 1.836 MB / 0.523 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.3203, allocations: 1.326 MB / 0.5243 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.3241, allocations: 4.839 MB / 0.529 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.3274, allocations: 438 kB / 0.5294 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005317/0.3279, allocations: 364.4 kB / 0.5298 GB, free: 18.47 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.001238/0.3292, allocations: 0.6364 MB / 0.5304 GB, free: 17.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.3296, allocations: 341.9 kB / 0.5307 GB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.3299, allocations: 349.1 kB / 0.5311 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00188/0.3318, allocations: 1.2 MB / 0.5322 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.3318, allocations: 4.875 kB / 0.5322 GB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3318, allocations: 10.72 kB / 0.5322 GB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007493/0.3393, allocations: 6.078 MB / 0.5382 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3393, allocations: 0 / 0.5382 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006375/0.3399, allocations: 251.7 kB / 0.5384 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001305/0.3412, allocations: 0.565 MB / 0.539 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.3413, allocations: 39.05 kB / 0.539 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.3436, allocations: 4.274 MB / 0.5432 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004312/0.344, allocations: 1.9 MB / 0.545 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.3472, allocations: 2.668 MB / 0.5476 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.3479, allocations: 293.8 kB / 0.5479 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.3481, allocations: 24 kB / 0.5479 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.3489, allocations: 159.7 kB / 0.5481 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.349, allocations: 100.8 kB / 0.5482 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.764e-05/0.3491, allocations: 41.62 kB / 0.5482 GB, free: 160 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001669/0.3508, allocations: 1.389 MB / 0.5496 GB, free: 14.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3508, allocations: 0 / 0.5496 GB, free: 14.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00367/0.3544, allocations: 1.066 MB / 0.5506 GB, free: 13.71 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.000384/0.3548, allocations: 177.1 kB / 0.5508 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005706/0.3605, allocations: 3.577 MB / 0.5543 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.3605, allocations: 0 / 0.5543 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001959/0.3625, allocations: 1.407 MB / 0.5557 GB, free: 8.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.3644, allocations: 399.4 kB / 0.5561 GB, free: 8.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.3757, allocations: 7.414 MB / 0.5633 GB, free: 0.582 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.3768, allocations: 1.167 MB / 0.5644 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002663/0.3795, allocations: 1.519 MB / 0.5659 GB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.38, allocations: 212.4 kB / 0.5661 GB, free: 13.66 MB / 442.7 MB Notification: Performance of SimCode: time 3.045e-06/0.38, allocations: 4 kB / 0.5661 GB, free: 13.66 MB / 442.7 MB Notification: Performance of Templates: time 0.0473/0.4273, allocations: 34.07 MB / 0.5994 GB, free: 12.09 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.357895713765174]