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.0009297/0.0009297, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.00129/0.00129, allocations: 172 kB / 24.91 MB, free: 8.766 MB / 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.8929/0.8929, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2454/0.2454, allocations: 34.27 MB / 296.1 MB, free: 0.7227 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.283e-06/1.283e-06, allocations: 0 / 325.2 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.509e-05, allocations: 3.188 kB / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.007881/0.007896, allocations: 10.52 MB / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005199/0.0131, allocations: 4.121 MB / 339.9 MB, free: 8.992 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.01359, allocations: 79.62 kB / 340 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00287/0.01646, allocations: 3.01 MB / 343 MB, free: 5.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.01862, allocations: 1.874 MB / 344.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.01953, allocations: 0.7717 MB / 345.6 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002632/0.02216, allocations: 4.079 MB / 349.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.02422, allocations: 3.309 MB / 353 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.02579, allocations: 2.307 MB / 355.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.02736, allocations: 2.077 MB / 357.4 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.02767, allocations: 340 kB / 357.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.0288, allocations: 1.127 MB / 358.8 MB, free: 5.902 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.02984, allocations: 2.026 MB / 360.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008867/0.03073, allocations: 1.258 MB / 362.1 MB, free: 2.609 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002865/0.0336, allocations: 4.414 MB / 366.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0336, allocations: 0 / 366.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0336, allocations: 0 / 366.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.027e-05/0.03367, allocations: 0 / 366.5 MB, free: 14.18 MB / 346.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.003937/0.03761, allocations: 4.269 MB / 370.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.03764, allocations: 16.03 kB / 370.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.04007, allocations: 1.125 MB / 371.9 MB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.04175, allocations: 1.667 MB / 373.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.04187, allocations: 242.6 kB / 373.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/0.04238, allocations: 412.3 kB / 374.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004752/0.04713, allocations: 4.929 MB / 379.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.766e-05/0.0472, allocations: 43.61 kB / 379.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.04745, allocations: 151.9 kB / 379.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/0.04879, allocations: 1.591 MB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.05259, allocations: 2.572 MB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/0.07225, allocations: 29.97 MB / 413.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.07573, allocations: 1.826 MB / 415.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.07619, allocations: 413.7 kB / 415.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004405/0.08059, allocations: 3.9 MB / 419.6 MB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.08063, allocations: 55.44 kB / 419.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 2.875e-06/0.08063, allocations: 0 / 419.7 MB, free: 6.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.009238/0.08987, allocations: 4.569 MB / 424.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006836/0.09055, allocations: 1.495 MB / 425.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.09249, allocations: 2.94 MB / 428.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/0.09257, allocations: 45.7 kB / 428.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.09369, allocations: 2.958 MB / 431.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.09403, allocations: 0.6242 MB / 432.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008624/0.09489, allocations: 1.085 MB / 433.4 MB, free: 9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.09495, allocations: 305.3 kB / 433.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.09604, allocations: 0.7808 MB / 434.5 MB, free: 7.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.09855, allocations: 4.252 MB / 438.7 MB, free: 1.844 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004052/0.1026, allocations: 5.641 MB / 444.4 MB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-05/0.1026, allocations: 36 kB / 444.4 MB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.006444/0.1091, allocations: 4.435 MB / 448.9 MB, free: 5.898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.1091, allocations: 60 kB / 448.9 MB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003088/0.1122, allocations: 1.023 MB / 449.9 MB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/0.1153, allocations: 0.5684 MB / 450.5 MB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.1171, allocations: 1.275 MB / 451.8 MB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1605/0.2776, allocations: 3.157 MB / 454.9 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003448/0.2811, allocations: 267.4 kB / 455.2 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/0.2815, allocations: 312.5 kB / 455.5 MB, free: 117.9 MB / 426.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.001225/0.2828, allocations: 0.5991 MB / 456.1 MB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.2831, allocations: 189.6 kB / 456.3 MB, free: 117.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.2835, allocations: 346.6 kB / 456.6 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001707/0.2852, allocations: 0.7184 MB / 457.3 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2852, allocations: 3.031 kB / 457.3 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.2852, allocations: 9.656 kB / 457.4 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006278/0.2915, allocations: 4.008 MB / 461.4 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.2915, allocations: 7.75 kB / 461.4 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.2922, allocations: 192.5 kB / 461.6 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.2937, allocations: 0.5061 MB / 462.1 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.2938, allocations: 32.58 kB / 462.1 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.2959, allocations: 2.883 MB / 465 MB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004113/0.2963, allocations: 1.346 MB / 466.3 MB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.2989, allocations: 1.943 MB / 468.3 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.2992, allocations: 272.5 kB / 468.5 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.2994, allocations: 31.47 kB / 468.6 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/0.3002, allocations: 28.81 kB / 468.6 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.3004, allocations: 95.61 kB / 468.7 MB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.3005, allocations: 45.11 kB / 468.7 MB, free: 112.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000915/0.3014, allocations: 1.047 MB / 469.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3014, allocations: 0 / 469.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003405/0.3048, allocations: 1.061 MB / 470.8 MB, free: 112.5 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.0003245/0.3051, allocations: 153.4 kB / 471 MB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.3089, allocations: 2.842 MB / 473.8 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001649/0.3091, allocations: 96 kB / 473.9 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.3105, allocations: 0.9136 MB / 474.8 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.3121, allocations: 0.5839 MB / 475.4 MB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.3205, allocations: 7.148 MB / 482.6 MB, free: 105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.3216, allocations: 1.152 MB / 483.7 MB, free: 104.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001175/0.3228, allocations: 458.4 kB / 484.2 MB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.3236, allocations: 0.5101 MB / 484.7 MB, free: 103.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3236, allocations: 0 / 484.7 MB, free: 103.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03969/0.3633, allocations: 35.65 MB / 0.5081 GB, free: 68.58 MB / 426.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.07339165173471]