Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001125/0.001125, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001032/0.001032, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1494/0.1494, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.452e-05, allocations: 2.312 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.009657/0.009692, allocations: 11.51 MB / 359.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009832/0.01952, allocations: 4.109 MB / 363.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002931/0.02246, allocations: 83.56 kB / 363.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.02695, allocations: 3.053 MB / 366.5 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005776/0.03272, allocations: 2.014 MB / 368.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.03448, allocations: 0.7562 MB / 369.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006225/0.0407, allocations: 4.216 MB / 373.5 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.04579, allocations: 3.339 MB / 376.8 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005795/0.05159, allocations: 2.432 MB / 379.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.05586, allocations: 2.315 MB / 381.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.05714, allocations: 360 kB / 381.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.05956, allocations: 1.178 MB / 383.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002084/0.06164, allocations: 2.158 MB / 385.3 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.06377, allocations: 1.359 MB / 386.6 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009787/0.07355, allocations: 4.736 MB / 391.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.07356, allocations: 8 kB / 391.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.07356, allocations: 0 / 391.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003047/0.07387, allocations: 0 / 391.4 MB, free: 13.56 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01326/0.08713, allocations: 5.3 MB / 396.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.08718, allocations: 12.02 kB / 396.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004816/0.092, allocations: 2.463 MB / 399.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.09518, allocations: 2.096 MB / 401.2 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.09532, allocations: 254.9 kB / 401.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006223/0.09595, allocations: 428.3 kB / 401.9 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.1063, allocations: 6.395 MB / 408.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.1065, allocations: 39.64 kB / 408.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000737/0.1072, allocations: 163.8 kB / 408.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.1091, allocations: 1.939 MB / 410.4 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009007/0.1182, allocations: 3.508 MB / 413.9 MB, free: 5.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2426/0.3608, allocations: 44.08 MB / 458 MB, free: 51.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007642/0.3684, allocations: 2.252 MB / 460.3 MB, free: 51.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.3696, allocations: 0.647 MB / 460.9 MB, free: 51.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006939/0.3765, allocations: 4.839 MB / 465.8 MB, free: 50.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3766, allocations: 52.89 kB / 465.8 MB, free: 50.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 3.697e-06/0.3766, allocations: 0 / 465.8 MB, free: 50.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.0163/0.3929, allocations: 9.559 MB / 475.4 MB, free: 47.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005843/0.3935, allocations: 2.04 MB / 477.4 MB, free: 45.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.3963, allocations: 3.431 MB / 480.8 MB, free: 44.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.479e-05/0.3964, allocations: 54.2 kB / 480.9 MB, free: 44.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.3977, allocations: 3.48 MB / 484.4 MB, free: 42.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.3982, allocations: 0.6902 MB / 485.1 MB, free: 42.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.3992, allocations: 1.321 MB / 486.4 MB, free: 42.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.3992, allocations: 486.7 kB / 486.9 MB, free: 41.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.4003, allocations: 0.7349 MB / 487.6 MB, free: 41.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.403, allocations: 6.29 MB / 493.9 MB, free: 34.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.4072, allocations: 7.778 MB / 0.4899 GB, free: 24.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.625e-05/0.4072, allocations: 40 kB / 0.4899 GB, free: 24.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01294/0.4202, allocations: 6.718 MB / 0.4965 GB, free: 19.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4204, allocations: 60 kB / 0.4966 GB, free: 19.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007986/0.4284, allocations: 2.309 MB / 0.4988 GB, free: 16.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005728/0.4341, allocations: 1.75 MB / 0.5005 GB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.4374, allocations: 1.4 MB / 0.5019 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004292/0.4417, allocations: 4.841 MB / 0.5066 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003914/0.4456, allocations: 463.3 kB / 0.5071 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/0.4463, allocations: 376 kB / 0.5074 GB, free: 7.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (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 (754): * Single equations (assignments): 745 * 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.001822/0.4481, allocations: 0.6633 MB / 0.5081 GB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/0.4488, allocations: 355.5 kB / 0.5084 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.4513, allocations: 1.699 MB / 0.5101 GB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002045/0.4534, allocations: 1.258 MB / 0.5113 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/0.4534, allocations: 11.92 kB / 0.5113 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.4534, allocations: 3.984 kB / 0.5113 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.4656, allocations: 6.554 MB / 0.5177 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.4657, allocations: 0 / 0.5177 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.4667, allocations: 271.6 kB / 0.518 GB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/0.4686, allocations: 0.5642 MB / 0.5185 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.4688, allocations: 38.48 kB / 0.5186 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003898/0.4727, allocations: 4.263 MB / 0.5227 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009874/0.4737, allocations: 1.912 MB / 0.5246 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/0.4789, allocations: 2.783 MB / 0.5273 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009348/0.4798, allocations: 315.2 kB / 0.5276 GB, free: 2.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000397/0.4802, allocations: 31.98 kB / 0.5276 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.4814, allocations: 167.7 kB / 0.5278 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.4817, allocations: 103.8 kB / 0.5279 GB, free: 2.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.4818, allocations: 47.97 kB / 0.5279 GB, free: 2.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002423/0.4842, allocations: 1.458 MB / 0.5294 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4842, allocations: 0 / 0.5294 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005283/0.4895, allocations: 1.148 MB / 0.5305 GB, free: 15.46 MB / 410.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 (126): * Single equations (assignments): 119 * 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.0005598/0.49, allocations: 195 kB / 0.5307 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007569/0.4976, allocations: 3.744 MB / 0.5343 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4976, allocations: 0 / 0.5343 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.5001, allocations: 1.437 MB / 0.5357 GB, free: 10.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.5024, allocations: 414.6 kB / 0.5361 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.5168, allocations: 7.912 MB / 0.5438 GB, free: 1.625 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.5182, allocations: 1.254 MB / 0.5451 GB, free: 352 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003443/0.5216, allocations: 1.586 MB / 0.5466 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/0.5223, allocations: 224.4 kB / 0.5468 GB, free: 14.54 MB / 426.7 MB Notification: Performance of SimCode: time 3.226e-06/0.5223, allocations: 0 / 0.5468 GB, free: 14.54 MB / 426.7 MB Notification: Performance of Templates: time 0.05219/0.5745, allocations: 36.06 MB / 0.582 GB, free: 10.58 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4700335413217545]