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.001023/0.001023, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001127/0.001127, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.9824/0.9824, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2787/0.2787, allocations: 32.8 MB / 294.6 MB, free: 1.297 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 2.054e-06/2.054e-06, allocations: 0 / 376 MB, free: 5.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.671e-05/3.876e-05, allocations: 9.625 kB / 376 MB, free: 5.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01177/0.01181, allocations: 10.74 MB / 386.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.01869, allocations: 4.018 MB / 390.7 MB, free: 6.207 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.02029, allocations: 75.62 kB / 390.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.02354, allocations: 3.01 MB / 393.8 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00372/0.02726, allocations: 1.862 MB / 395.7 MB, free: 1.242 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.0287, allocations: 0.7639 MB / 396.5 MB, free: 488 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005218/0.03391, allocations: 4.063 MB / 400.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004091/0.038, allocations: 3.234 MB / 403.7 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.04187, allocations: 2.288 MB / 406 MB, free: 6.805 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.04466, allocations: 2.171 MB / 408.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008013/0.04546, allocations: 336 kB / 408.5 MB, free: 4.301 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.04753, allocations: 1.143 MB / 409.7 MB, free: 3.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002279/0.04981, allocations: 2.022 MB / 411.7 MB, free: 1.129 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.05191, allocations: 1.258 MB / 413 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.05694, allocations: 4.406 MB / 417.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.05695, allocations: 0 / 417.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05695, allocations: 0 / 417.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001334/0.05708, allocations: 0 / 417.4 MB, free: 11.45 MB / 394.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.006111/0.06319, allocations: 4.997 MB / 422.4 MB, free: 6.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.06323, allocations: 8.031 kB / 422.4 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.06762, allocations: 2.436 MB / 424.8 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.07038, allocations: 1.964 MB / 426.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.07052, allocations: 242.6 kB / 427 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006516/0.07117, allocations: 400.3 kB / 427.4 MB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009251/0.08042, allocations: 6.093 MB / 433.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.08053, allocations: 39.64 kB / 433.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003541/0.08089, allocations: 147.9 kB / 433.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001686/0.08257, allocations: 1.763 MB / 435.4 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0077/0.09027, allocations: 3.324 MB / 438.8 MB, free: 4.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1997/0.29, allocations: 42.13 MB / 480.9 MB, free: 64.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.2959, allocations: 2.227 MB / 483.1 MB, free: 63.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009352/0.2969, allocations: 0.5893 MB / 483.7 MB, free: 63.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00594/0.3028, allocations: 4.612 MB / 488.3 MB, free: 61.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.3029, allocations: 48.61 kB / 488.4 MB, free: 61.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 4.379e-06/0.3029, allocations: 3.75 kB / 488.4 MB, free: 61.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01651/0.3194, allocations: 9.153 MB / 497.5 MB, free: 58.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008115/0.3202, allocations: 2.056 MB / 499.6 MB, free: 56.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.3238, allocations: 3.277 MB / 0.4911 GB, free: 54.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.3241, allocations: 51.16 kB / 0.4911 GB, free: 54.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.3257, allocations: 3.285 MB / 0.4943 GB, free: 52.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006435/0.3263, allocations: 0.653 MB / 0.495 GB, free: 51.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.3277, allocations: 1.248 MB / 0.4962 GB, free: 51.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.3277, allocations: 478.4 kB / 0.4966 GB, free: 50.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.329, allocations: 0.6836 MB / 0.4973 GB, free: 50.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002806/0.3318, allocations: 6.035 MB / 0.5032 GB, free: 43.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.3371, allocations: 7.448 MB / 0.5105 GB, free: 34.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/0.3373, allocations: 40.56 kB / 0.5105 GB, free: 34.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01191/0.3492, allocations: 6.507 MB / 0.5169 GB, free: 32.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.399e-05/0.3492, allocations: 62.38 kB / 0.5169 GB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005755/0.355, allocations: 2.24 MB / 0.5191 GB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/0.3611, allocations: 1.838 MB / 0.5209 GB, free: 31.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.3641, allocations: 1.336 MB / 0.5222 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.368, allocations: 4.843 MB / 0.5269 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.3717, allocations: 441.2 kB / 0.5274 GB, free: 25.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/0.3723, allocations: 360.8 kB / 0.5277 GB, free: 25.44 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.001347/0.3736, allocations: 0.6388 MB / 0.5283 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.3741, allocations: 345.9 kB / 0.5287 GB, free: 24.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.3744, allocations: 347.7 kB / 0.529 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002079/0.3765, allocations: 1.202 MB / 0.5302 GB, free: 23.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.3765, allocations: 4 kB / 0.5302 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.3765, allocations: 5.016 kB / 0.5302 GB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007932/0.3844, allocations: 6.071 MB / 0.5361 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3845, allocations: 0 / 0.5361 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.3851, allocations: 251.7 kB / 0.5363 GB, free: 17.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.3864, allocations: 0.5563 MB / 0.5369 GB, free: 16.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3865, allocations: 39.97 kB / 0.5369 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.3886, allocations: 4.28 MB / 0.5411 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004412/0.3891, allocations: 1.899 MB / 0.543 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00328/0.3924, allocations: 2.672 MB / 0.5456 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.3931, allocations: 293.8 kB / 0.5458 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.3934, allocations: 27.36 kB / 0.5459 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/0.3941, allocations: 159.7 kB / 0.546 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.3943, allocations: 100.7 kB / 0.5461 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.3944, allocations: 47.97 kB / 0.5462 GB, free: 6.633 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001548/0.396, allocations: 1.385 MB / 0.5475 GB, free: 5.254 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.396, allocations: 0 / 0.5475 GB, free: 5.254 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003948/0.3999, allocations: 1.062 MB / 0.5486 GB, free: 4.191 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.0003921/0.4003, allocations: 179.1 kB / 0.5487 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005238/0.4055, allocations: 3.577 MB / 0.5522 GB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4055, allocations: 0 / 0.5522 GB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.4075, allocations: 1.408 MB / 0.5536 GB, free: 14.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.4095, allocations: 397.7 kB / 0.554 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.4203, allocations: 7.413 MB / 0.5612 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.4214, allocations: 1.175 MB / 0.5624 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002531/0.424, allocations: 1.514 MB / 0.5638 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.4244, allocations: 212.5 kB / 0.564 GB, free: 4.141 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4244, allocations: 0 / 0.564 GB, free: 4.141 MB / 426.7 MB Notification: Performance of Templates: time 0.04585/0.4703, allocations: 33.01 MB / 0.5963 GB, free: 3.605 MB / 458.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 -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: 4.646453707944602]