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.0008953/0.0008953, 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.001033/0.001033, allocations: 171.5 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.9594/0.9594, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2576/0.2576, allocations: 32.81 MB / 294.6 MB, free: 1.207 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 1.833e-06/1.833e-06, allocations: 3.938 kB / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.356e-05, allocations: 3.078 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.0193/0.01933, allocations: 10.55 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01611/0.03543, allocations: 4.131 MB / 337.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008468/0.03628, allocations: 79.62 kB / 338 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006672/0.04295, allocations: 2.963 MB / 341 MB, free: 7.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.04592, allocations: 1.851 MB / 342.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.04713, allocations: 0.76 MB / 343.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004174/0.0513, allocations: 4.081 MB / 347.7 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.05442, allocations: 3.199 MB / 350.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.05674, allocations: 2.276 MB / 353.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.05837, allocations: 2.073 MB / 355.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.05866, allocations: 339.9 kB / 355.6 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.05995, allocations: 1.162 MB / 356.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.06098, allocations: 2.026 MB / 358.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.06218, allocations: 1.254 MB / 360 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003131/0.06531, allocations: 4.406 MB / 364.4 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.06532, allocations: 0 / 364.4 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.06532, allocations: 0 / 364.4 MB, free: 324 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.691e-05/0.06537, allocations: 7.922 kB / 364.4 MB, free: 316 kB / 330.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.004127/0.06949, allocations: 4.277 MB / 368.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.06952, allocations: 8.031 kB / 368.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.07191, allocations: 1.125 MB / 369.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.07347, allocations: 1.671 MB / 371.5 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.07358, allocations: 242.6 kB / 371.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004637/0.07404, allocations: 404.3 kB / 372.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004941/0.07898, allocations: 4.937 MB / 377.1 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.286e-05/0.07905, allocations: 39.64 kB / 377.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.07928, allocations: 151.9 kB / 377.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00121/0.08049, allocations: 1.595 MB / 378.8 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.08432, allocations: 2.565 MB / 381.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.1035, allocations: 29.97 MB / 411.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/0.107, allocations: 1.834 MB / 413.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004515/0.1074, allocations: 411.2 kB / 413.6 MB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004434/0.1119, allocations: 3.903 MB / 417.5 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1119, allocations: 51.5 kB / 417.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 3.377e-06/0.1119, allocations: 0 / 417.6 MB, free: 9.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.009388/0.1213, allocations: 4.564 MB / 422.1 MB, free: 4.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001101/0.1224, allocations: 1.499 MB / 423.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.1244, allocations: 2.937 MB / 426.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.1245, allocations: 49.7 kB / 426.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.1255, allocations: 2.954 MB / 429.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.1259, allocations: 0.6241 MB / 430.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.127, allocations: 1.088 MB / 431.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.1271, allocations: 305.1 kB / 431.6 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.1281, allocations: 0.7807 MB / 432.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002798/0.1309, allocations: 4.256 MB / 436.6 MB, free: 3.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.1351, allocations: 5.65 MB / 442.3 MB, free: 12.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/0.1351, allocations: 36 kB / 442.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.00649/0.1416, allocations: 4.421 MB / 446.7 MB, free: 8.023 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.1417, allocations: 61.88 kB / 446.8 MB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003172/0.1449, allocations: 1.022 MB / 447.8 MB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/0.1481, allocations: 0.5645 MB / 448.4 MB, free: 6.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.1504, allocations: 1.33 MB / 449.7 MB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002965/0.1534, allocations: 3.177 MB / 452.9 MB, free: 1.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.1552, allocations: 259.7 kB / 453.1 MB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.1554, allocations: 312 kB / 453.4 MB, free: 1.086 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.001003/0.1564, allocations: 0.5913 MB / 454 MB, free: 492 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.1567, allocations: 199.7 kB / 454.2 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1482/0.3049, allocations: 347.6 kB / 454.6 MB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00192/0.3069, allocations: 0.7123 MB / 455.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3069, allocations: 5.469 kB / 455.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.3069, allocations: 8.641 kB / 455.3 MB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006337/0.3132, allocations: 4.006 MB / 459.3 MB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3132, allocations: 5.719 kB / 459.3 MB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.3138, allocations: 208.2 kB / 459.5 MB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3149, allocations: 0.5097 MB / 460 MB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.315, allocations: 33.11 kB / 460 MB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.3168, allocations: 2.892 MB / 462.9 MB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003562/0.3172, allocations: 1.337 MB / 464.3 MB, free: 118.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.3193, allocations: 1.938 MB / 466.2 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.3196, allocations: 283 kB / 466.5 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.3198, allocations: 29.94 kB / 466.5 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3204, allocations: 27.45 kB / 466.5 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.3205, allocations: 93.38 kB / 466.6 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/0.3206, allocations: 32.22 kB / 466.7 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007543/0.3214, allocations: 1.052 MB / 467.7 MB, free: 118 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3214, allocations: 0 / 467.7 MB, free: 118 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002741/0.3241, allocations: 1.064 MB / 468.8 MB, free: 118 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.0002989/0.3244, allocations: 157.4 kB / 468.9 MB, free: 117.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.3276, allocations: 2.846 MB / 471.8 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001238/0.3278, allocations: 93.88 kB / 471.9 MB, free: 117.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.3289, allocations: 0.9123 MB / 472.8 MB, free: 117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.3303, allocations: 0.5912 MB / 473.4 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.3375, allocations: 7.143 MB / 480.5 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008214/0.3383, allocations: 1.153 MB / 481.7 MB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009332/0.3393, allocations: 457.9 kB / 482.1 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.3399, allocations: 0.5041 MB / 482.6 MB, free: 108.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.963e-06/0.3399, allocations: 3.938 kB / 482.6 MB, free: 108.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04128/0.3812, allocations: 35.64 MB / 0.5061 GB, free: 73.57 MB / 426.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -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: 3.985578048042953]