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.001353/0.001353, allocations: 80.8 kB / 21.5 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.001011/0.001011, allocations: 170 kB / 24.91 MB, free: 9.199 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.9372/0.9372, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3003/0.3003, allocations: 34.26 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.583e-06/1.583e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.057e-05, allocations: 3.188 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01231/0.01234, allocations: 10.56 MB / 335.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.02353, allocations: 4.142 MB / 340 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.0249, allocations: 75.62 kB / 340.1 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.02785, allocations: 2.951 MB / 343 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.03076, allocations: 1.854 MB / 344.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.0318, allocations: 0.7639 MB / 345.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.03504, allocations: 4.079 MB / 349.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.03739, allocations: 3.191 MB / 352.9 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.03951, allocations: 2.276 MB / 355.2 MB, free: 9.574 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.0414, allocations: 2.073 MB / 357.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003872/0.04179, allocations: 336 kB / 357.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.04314, allocations: 1.166 MB / 358.7 MB, free: 6 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.04426, allocations: 2.026 MB / 360.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.04537, allocations: 1.254 MB / 362 MB, free: 2.711 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.04848, allocations: 4.41 MB / 366.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.04848, allocations: 3.938 kB / 366.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.04848, allocations: 3.984 kB / 366.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.594e-05/0.04855, allocations: 0 / 366.4 MB, free: 14.27 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.004268/0.05282, allocations: 4.273 MB / 370.7 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.05285, allocations: 8.031 kB / 370.7 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/0.05598, allocations: 1.132 MB / 371.8 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.05825, allocations: 1.659 MB / 373.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.05841, allocations: 242.6 kB / 373.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/0.05907, allocations: 404.3 kB / 374.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006589/0.06566, allocations: 4.937 MB / 379.1 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.45e-05/0.06574, allocations: 39.64 kB / 379.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.06608, allocations: 155.9 kB / 379.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001691/0.06777, allocations: 1.591 MB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005294/0.07307, allocations: 2.579 MB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.09652, allocations: 29.96 MB / 413.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.1013, allocations: 1.835 MB / 415.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.1019, allocations: 415.4 kB / 415.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006686/0.1085, allocations: 3.911 MB / 419.5 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1086, allocations: 55.44 kB / 419.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 3.206e-06/0.1086, allocations: 0 / 419.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.01246/0.121, allocations: 4.564 MB / 424.2 MB, free: 2.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007937/0.1218, allocations: 1.484 MB / 425.6 MB, free: 0.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.1238, allocations: 2.94 MB / 428.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.1239, allocations: 49.64 kB / 428.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.125, allocations: 2.958 MB / 431.6 MB, free: 10.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.1254, allocations: 0.6163 MB / 432.2 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009099/0.1263, allocations: 1.096 MB / 433.3 MB, free: 9.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.1264, allocations: 305.1 kB / 433.6 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.1274, allocations: 0.7769 MB / 434.4 MB, free: 8.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.1301, allocations: 4.256 MB / 438.6 MB, free: 1.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.1341, allocations: 5.642 MB / 444.3 MB, free: 10.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/0.1342, allocations: 36 kB / 444.3 MB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.006657/0.1408, allocations: 4.421 MB / 448.7 MB, free: 6.004 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/0.1409, allocations: 62.03 kB / 448.8 MB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003154/0.144, allocations: 1.022 MB / 449.8 MB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003165/0.1472, allocations: 0.576 MB / 450.4 MB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.1494, allocations: 1.33 MB / 451.7 MB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2194/0.3688, allocations: 3.171 MB / 454.9 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/0.3736, allocations: 264.4 kB / 455.2 MB, free: 117.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000865/0.3744, allocations: 313.2 kB / 455.5 MB, free: 117.7 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.002104/0.3765, allocations: 0.5966 MB / 456.1 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/0.3771, allocations: 194.6 kB / 456.2 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.3776, allocations: 345.4 kB / 456.6 MB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001674/0.3792, allocations: 0.7147 MB / 457.3 MB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.3792, allocations: 2.938 kB / 457.3 MB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.3793, allocations: 6.141 kB / 457.3 MB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/0.3862, allocations: 4.01 MB / 461.3 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.3862, allocations: 4.906 kB / 461.3 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/0.3869, allocations: 219.3 kB / 461.5 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/0.3882, allocations: 0.5002 MB / 462 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.3883, allocations: 35.44 kB / 462.1 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.3904, allocations: 2.884 MB / 465 MB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005203/0.3909, allocations: 1.348 MB / 466.3 MB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.3933, allocations: 1.934 MB / 468.2 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.3938, allocations: 274.1 kB / 468.5 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.394, allocations: 34.58 kB / 468.5 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.3946, allocations: 29.77 kB / 468.6 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.3948, allocations: 89.75 kB / 468.7 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.3949, allocations: 38.38 kB / 468.7 MB, free: 112.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009904/0.3959, allocations: 1.05 MB / 469.7 MB, free: 112.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3959, allocations: 0 / 469.7 MB, free: 112.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003949/0.3998, allocations: 1.065 MB / 470.8 MB, free: 112.4 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.0004896/0.4003, allocations: 158.9 kB / 471 MB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004603/0.4049, allocations: 2.843 MB / 473.8 MB, free: 112 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001572/0.4051, allocations: 91.47 kB / 473.9 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.4064, allocations: 0.9125 MB / 474.8 MB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.4087, allocations: 0.5875 MB / 475.4 MB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009915/0.4186, allocations: 7.145 MB / 482.5 MB, free: 105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.4196, allocations: 1.156 MB / 483.7 MB, free: 104.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001281/0.4209, allocations: 448.7 kB / 484.1 MB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007668/0.4217, allocations: 0.5168 MB / 484.6 MB, free: 103.3 MB / 426.7 MB Notification: Performance of SimCode: time 3.627e-06/0.4217, allocations: 0 / 484.6 MB, free: 103.3 MB / 426.7 MB Notification: Performance of Templates: time 0.05375/0.4754, allocations: 35.64 MB / 0.5081 GB, free: 68.51 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 -s gbode -gbm=radauIIA3 -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.193816646002233]