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.001546/0.001546, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00112/0.00112, allocations: 164.8 kB / 25.61 MB, free: 8.891 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.9256/0.9256, allocations: 177.1 MB / 206 MB, free: 4.508 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.1393/0.1393, allocations: 34.25 MB / 296.8 MB, free: 13.94 MB / 282.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.322e-06/1.322e-06, allocations: 0 / 379.3 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05e-05/1.182e-05, allocations: 5.406 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.005955/0.005967, allocations: 10.5 MB / 389.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004003/0.009969, allocations: 3.989 MB / 393.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.01055, allocations: 79.62 kB / 393.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.01271, allocations: 2.963 MB / 396.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.0145, allocations: 1.882 MB / 398.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.01517, allocations: 0.7523 MB / 399.4 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.01734, allocations: 4.082 MB / 403.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.01962, allocations: 3.218 MB / 406.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.02146, allocations: 2.311 MB / 409 MB, free: 9.492 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.02314, allocations: 2.17 MB / 411.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002982/0.02344, allocations: 336 kB / 411.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.02453, allocations: 1.143 MB / 412.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.02559, allocations: 2.01 MB / 414.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008749/0.02646, allocations: 1.262 MB / 416 MB, free: 2.562 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.02935, allocations: 4.402 MB / 420.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.02935, allocations: 0 / 420.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.02935, allocations: 0 / 420.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.02938, allocations: 0 / 420.4 MB, free: 14.14 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.004186/0.03357, allocations: 4.844 MB / 425.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.726e-05/0.0336, allocations: 8.031 kB / 425.2 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.03655, allocations: 1.493 MB / 426.7 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.03821, allocations: 1.811 MB / 428.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.03833, allocations: 246.6 kB / 428.8 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005038/0.03883, allocations: 408.3 kB / 429.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005187/0.04402, allocations: 5.491 MB / 434.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.644e-05/0.04409, allocations: 35.69 kB / 434.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.04434, allocations: 151.9 kB / 434.8 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/0.04562, allocations: 1.599 MB / 436.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.04944, allocations: 2.599 MB / 439 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.07311, allocations: 41.66 MB / 480.7 MB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.07698, allocations: 1.931 MB / 482.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000515/0.07749, allocations: 0.5028 MB / 483.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004218/0.08171, allocations: 4.324 MB / 487.5 MB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.08174, allocations: 54.38 kB / 487.5 MB, free: 8.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 3.586e-06/0.08174, allocations: 11.88 kB / 487.5 MB, free: 8.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01115/0.09289, allocations: 5.407 MB / 492.9 MB, free: 2.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008107/0.0937, allocations: 2.016 MB / 494.9 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1266/0.2203, allocations: 3.279 MB / 498.2 MB, free: 112.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003192/0.2206, allocations: 44.98 kB / 498.3 MB, free: 112.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.2216, allocations: 3.313 MB / 0.4898 GB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.2221, allocations: 0.6506 MB / 0.4905 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/0.2231, allocations: 1.285 MB / 0.4917 GB, free: 110 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.2231, allocations: 476.8 kB / 0.4922 GB, free: 109.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.2243, allocations: 0.6088 MB / 0.4928 GB, free: 109.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.2262, allocations: 6.012 MB / 0.4986 GB, free: 102.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/0.2296, allocations: 7.327 MB / 0.5058 GB, free: 95.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.66e-05/0.2296, allocations: 36.19 kB / 0.5058 GB, free: 95.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.007047/0.2366, allocations: 5.149 MB / 0.5108 GB, free: 93.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.2367, allocations: 60 kB / 0.5109 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003432/0.2401, allocations: 1.149 MB / 0.512 GB, free: 92.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003456/0.2436, allocations: 0.5761 MB / 0.5126 GB, free: 92.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.2453, allocations: 1.27 MB / 0.5138 GB, free: 91.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.2482, allocations: 4.29 MB / 0.518 GB, free: 86.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.2502, allocations: 267.3 kB / 0.5183 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.2505, allocations: 314.5 kB / 0.5186 GB, free: 86.38 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.0008966/0.2514, allocations: 0.6408 MB / 0.5192 GB, free: 85.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003213/0.2517, allocations: 341.9 kB / 0.5195 GB, free: 85.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.252, allocations: 346.2 kB / 0.5199 GB, free: 85.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001406/0.2534, allocations: 0.8629 MB / 0.5207 GB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2534, allocations: 4 kB / 0.5207 GB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.2534, allocations: 7.406 kB / 0.5207 GB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/0.2586, allocations: 4.751 MB / 0.5254 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2587, allocations: 0 / 0.5254 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.2593, allocations: 195.7 kB / 0.5255 GB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001044/0.2603, allocations: 362.2 kB / 0.5259 GB, free: 79.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.2604, allocations: 31.98 kB / 0.5259 GB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.2621, allocations: 4.005 MB / 0.5298 GB, free: 75.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003843/0.2625, allocations: 1.866 MB / 0.5316 GB, free: 73.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.2648, allocations: 2.276 MB / 0.5339 GB, free: 71.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.265, allocations: 281.8 kB / 0.5341 GB, free: 70.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.2652, allocations: 32 kB / 0.5342 GB, free: 70.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.2658, allocations: 26.92 kB / 0.5342 GB, free: 70.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.266, allocations: 92.81 kB / 0.5343 GB, free: 70.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.266, allocations: 39.98 kB / 0.5343 GB, free: 70.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007933/0.2668, allocations: 1.294 MB / 0.5356 GB, free: 69.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2668, allocations: 0 / 0.5356 GB, free: 69.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00263/0.2694, allocations: 1.062 MB / 0.5366 GB, free: 68.2 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 (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.000298/0.2697, allocations: 182.8 kB / 0.5368 GB, free: 68.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003326/0.2731, allocations: 3.162 MB / 0.5399 GB, free: 64.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2731, allocations: 0 / 0.5399 GB, free: 64.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.2743, allocations: 1.092 MB / 0.541 GB, free: 63.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2754, allocations: 401.7 kB / 0.5413 GB, free: 63.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006774/0.2822, allocations: 7.394 MB / 0.5486 GB, free: 55.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.283, allocations: 1.167 MB / 0.5497 GB, free: 54.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009264/0.2839, allocations: 451.1 kB / 0.5501 GB, free: 54.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006545/0.2845, allocations: 0.5527 MB / 0.5507 GB, free: 53.64 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2846, allocations: 0 / 0.5507 GB, free: 53.64 MB / 410.7 MB Notification: Performance of Templates: time 0.04107/0.3256, allocations: 36.55 MB / 0.5864 GB, free: 17.5 MB / 410.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.172949887346476]