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.001333/0.001333, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001155/0.001155, allocations: 169.7 kB / 24.82 MB, free: 9.254 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.9919/0.9919, 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.2697/0.2697, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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 2.715e-06/2.715e-06, allocations: 0 / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.824e-05, allocations: 2.312 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.009369/0.009397, allocations: 10.51 MB / 389 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.01522, allocations: 3.995 MB / 393 MB, free: 3.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.01599, allocations: 79.62 kB / 393.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.01864, allocations: 2.971 MB / 396 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.02134, allocations: 1.87 MB / 397.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.02252, allocations: 0.764 MB / 398.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.02537, allocations: 4.078 MB / 402.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.02769, allocations: 3.222 MB / 406 MB, free: 6.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.02965, allocations: 2.304 MB / 408.3 MB, free: 4.445 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.03161, allocations: 2.174 MB / 410.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.03203, allocations: 340 kB / 410.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.0334, allocations: 1.135 MB / 411.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001369/0.03477, allocations: 2.018 MB / 413.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.03662, allocations: 1.262 MB / 415.2 MB, free: 13.51 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.04176, allocations: 4.406 MB / 419.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.04177, allocations: 0 / 419.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.04177, allocations: 0 / 419.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.04182, allocations: 0 / 419.6 MB, free: 9.086 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.007204/0.04902, allocations: 4.84 MB / 424.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.04908, allocations: 12.03 kB / 424.4 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004573/0.05365, allocations: 1.496 MB / 425.9 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.0568, allocations: 1.808 MB / 427.8 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.05695, allocations: 246.6 kB / 428 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.05753, allocations: 408.3 kB / 428.4 MB, free: 180 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006232/0.06376, allocations: 5.483 MB / 433.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-05/0.06386, allocations: 43.67 kB / 433.9 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.06413, allocations: 155.8 kB / 434.1 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/0.06545, allocations: 1.591 MB / 435.7 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/0.07028, allocations: 2.599 MB / 438.3 MB, free: 5.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2048/0.2751, allocations: 41.64 MB / 479.9 MB, free: 57.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.2789, allocations: 1.926 MB / 481.8 MB, free: 57.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/0.2794, allocations: 0.5058 MB / 482.3 MB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004475/0.2839, allocations: 4.328 MB / 486.7 MB, free: 55.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2839, allocations: 55.56 kB / 486.7 MB, free: 55.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 2.534e-06/0.2839, allocations: 0 / 486.7 MB, free: 55.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01068/0.2946, allocations: 5.42 MB / 492.1 MB, free: 53.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007015/0.2953, allocations: 2.018 MB / 494.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.2979, allocations: 3.276 MB / 497.4 MB, free: 51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-05/0.298, allocations: 48 kB / 497.5 MB, free: 50.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.2997, allocations: 3.312 MB / 0.4891 GB, free: 48.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.3001, allocations: 0.6583 MB / 0.4897 GB, free: 48.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/0.301, allocations: 1.274 MB / 0.4909 GB, free: 47.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.3011, allocations: 484.1 kB / 0.4914 GB, free: 46.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.3023, allocations: 0.6109 MB / 0.492 GB, free: 46.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.3063, allocations: 6.005 MB / 0.4979 GB, free: 39.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005841/0.3122, allocations: 7.324 MB / 0.505 GB, free: 31.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.311e-05/0.3122, allocations: 40.38 kB / 0.5051 GB, free: 31.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.008954/0.3212, allocations: 5.15 MB / 0.5101 GB, free: 29.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.3213, allocations: 60.28 kB / 0.5101 GB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003268/0.3245, allocations: 1.153 MB / 0.5113 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003161/0.3277, allocations: 0.5737 MB / 0.5118 GB, free: 29.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.3296, allocations: 1.27 MB / 0.5131 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/0.3326, allocations: 4.306 MB / 0.5173 GB, free: 25.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.3355, allocations: 261.5 kB / 0.5175 GB, free: 25.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004499/0.3359, allocations: 312.5 kB / 0.5178 GB, free: 25.23 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.001628/0.3376, allocations: 0.6394 MB / 0.5184 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/0.3382, allocations: 336.1 kB / 0.5188 GB, free: 24.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.3386, allocations: 349.2 kB / 0.5191 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001536/0.3402, allocations: 0.861 MB / 0.5199 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.3402, allocations: 3.219 kB / 0.5199 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.3402, allocations: 14.03 kB / 0.52 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007854/0.348, allocations: 4.75 MB / 0.5246 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.348, allocations: 9.703 kB / 0.5246 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.3486, allocations: 196.1 kB / 0.5248 GB, free: 21.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3499, allocations: 363 kB / 0.5251 GB, free: 21.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.35, allocations: 38.19 kB / 0.5252 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.3522, allocations: 4.007 MB / 0.5291 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004667/0.3527, allocations: 1.868 MB / 0.5309 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.3553, allocations: 2.257 MB / 0.5331 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.3557, allocations: 285.2 kB / 0.5334 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.3559, allocations: 30.61 kB / 0.5334 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.3564, allocations: 28.77 kB / 0.5334 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.3566, allocations: 106.3 kB / 0.5335 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.3567, allocations: 33.53 kB / 0.5336 GB, free: 13.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.3578, allocations: 1.287 MB / 0.5348 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3578, allocations: 0 / 0.5348 GB, free: 12.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002973/0.3607, allocations: 1.067 MB / 0.5359 GB, free: 11.13 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.0002913/0.361, allocations: 175.7 kB / 0.536 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003781/0.3648, allocations: 3.16 MB / 0.5391 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3648, allocations: 0 / 0.5391 GB, free: 8.141 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.366, allocations: 1.105 MB / 0.5402 GB, free: 7.129 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3672, allocations: 391.1 kB / 0.5406 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/0.3759, allocations: 7.383 MB / 0.5478 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.3771, allocations: 1.163 MB / 0.5489 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001084/0.3782, allocations: 466.1 kB / 0.5494 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/0.3789, allocations: 0.548 MB / 0.5499 GB, free: 14.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3789, allocations: 0 / 0.5499 GB, free: 14.28 MB / 426.7 MB Notification: Performance of Templates: time 0.04925/0.4282, allocations: 35.78 MB / 0.5848 GB, free: 11.17 MB / 458.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.472184356767684]