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.0009822/0.0009822, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001094/0.001094, allocations: 166.7 kB / 24.99 MB, free: 8.789 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2596/0.2596, allocations: 34.27 MB / 296 MB, free: 0.7773 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 1.082e-06/1.082e-06, allocations: 0 / 378 MB, free: 3.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.699e-05, allocations: 6.25 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008627/0.008644, allocations: 10.73 MB / 388.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.01579, allocations: 4.014 MB / 392.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.0171, allocations: 83.56 kB / 392.8 MB, free: 4.109 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003274/0.02038, allocations: 3.006 MB / 395.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.02336, allocations: 1.87 MB / 397.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.02446, allocations: 0.7601 MB / 398.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.02792, allocations: 4.066 MB / 402.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.03059, allocations: 3.23 MB / 405.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.03258, allocations: 2.292 MB / 408.1 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.03438, allocations: 2.163 MB / 410.2 MB, free: 2.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.03471, allocations: 340 kB / 410.6 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.03599, allocations: 1.147 MB / 411.7 MB, free: 1.133 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.03714, allocations: 2.014 MB / 413.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009608/0.03811, allocations: 1.266 MB / 415 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.04142, allocations: 4.406 MB / 419.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.04142, allocations: 0 / 419.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.04143, allocations: 0 / 419.4 MB, free: 9.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.657e-05/0.04147, allocations: 0 / 419.4 MB, free: 9.422 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.005214/0.04669, allocations: 4.993 MB / 424.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.932e-05/0.04675, allocations: 12.03 kB / 424.4 MB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.05121, allocations: 2.424 MB / 426.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.05342, allocations: 1.968 MB / 428.8 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.05354, allocations: 242.5 kB / 429 MB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005875/0.05413, allocations: 404.3 kB / 429.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006983/0.06111, allocations: 6.085 MB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.533e-05/0.06119, allocations: 51.62 kB / 435.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.06147, allocations: 147.9 kB / 435.7 MB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001531/0.063, allocations: 1.767 MB / 437.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/0.06952, allocations: 3.319 MB / 440.8 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1861/0.2556, allocations: 42.13 MB / 482.9 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004385/0.26, allocations: 2.239 MB / 485.2 MB, free: 46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006363/0.2606, allocations: 0.6012 MB / 485.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004244/0.2649, allocations: 4.583 MB / 490.3 MB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2649, allocations: 52.58 kB / 490.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 2.946e-06/0.2649, allocations: 3.406 kB / 490.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.0139/0.2788, allocations: 9.15 MB / 499.5 MB, free: 40.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006996/0.2795, allocations: 2.047 MB / 0.4898 GB, free: 38.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.2825, allocations: 3.287 MB / 0.493 GB, free: 36.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-05/0.2826, allocations: 48.58 kB / 0.4931 GB, free: 36.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.2838, allocations: 3.284 MB / 0.4963 GB, free: 34.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.2842, allocations: 0.644 MB / 0.4969 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.2853, allocations: 1.25 MB / 0.4981 GB, free: 33.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.2853, allocations: 481.7 kB / 0.4986 GB, free: 32.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2865, allocations: 0.6829 MB / 0.4993 GB, free: 32.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.2892, allocations: 6.038 MB / 0.5052 GB, free: 25.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004583/0.2937, allocations: 7.453 MB / 0.5124 GB, free: 17.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.002e-05/0.2938, allocations: 36.66 kB / 0.5125 GB, free: 17.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.009621/0.3034, allocations: 6.514 MB / 0.5188 GB, free: 16.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.3035, allocations: 60.38 kB / 0.5189 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005102/0.3086, allocations: 2.246 MB / 0.5211 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005112/0.3137, allocations: 1.837 MB / 0.5229 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.3156, allocations: 1.326 MB / 0.5242 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003612/0.3193, allocations: 4.845 MB / 0.5289 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.3215, allocations: 438.1 kB / 0.5293 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.3218, allocations: 354.1 kB / 0.5297 GB, free: 10.96 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.0009434/0.3227, allocations: 0.6457 MB / 0.5303 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.323, allocations: 345.1 kB / 0.5306 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.3233, allocations: 344.9 kB / 0.531 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001876/0.3252, allocations: 1.201 MB / 0.5321 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3252, allocations: 4 kB / 0.5321 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3252, allocations: 4.125 kB / 0.5321 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006718/0.3319, allocations: 6.086 MB / 0.5381 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3319, allocations: 0 / 0.5381 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.3325, allocations: 246.8 kB / 0.5383 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.3338, allocations: 0.5641 MB / 0.5389 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.535e-05/0.3339, allocations: 39.36 kB / 0.5389 GB, free: 3.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.3362, allocations: 4.273 MB / 0.5431 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007061/0.3369, allocations: 1.902 MB / 0.5449 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.3403, allocations: 2.662 MB / 0.5475 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.3406, allocations: 293.8 kB / 0.5478 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.3408, allocations: 33.72 kB / 0.5479 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000719/0.3415, allocations: 162.4 kB / 0.548 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.3417, allocations: 92.81 kB / 0.5481 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.3418, allocations: 43.98 kB / 0.5481 GB, free: 9.605 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001417/0.3432, allocations: 1.389 MB / 0.5495 GB, free: 8.223 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3432, allocations: 0.7656 kB / 0.5495 GB, free: 8.223 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003161/0.3464, allocations: 1.061 MB / 0.5505 GB, free: 7.164 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.0003525/0.3467, allocations: 178.7 kB / 0.5507 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004817/0.3516, allocations: 3.569 MB / 0.5542 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3516, allocations: 0 / 0.5542 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.3534, allocations: 1.409 MB / 0.5556 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.3547, allocations: 404.2 kB / 0.5559 GB, free: 1.547 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008634/0.3633, allocations: 7.412 MB / 0.5632 GB, free: 10.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009214/0.3642, allocations: 1.169 MB / 0.5643 GB, free: 8.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00209/0.3663, allocations: 1.511 MB / 0.5658 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/0.3667, allocations: 220.4 kB / 0.566 GB, free: 7.117 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/0.3667, allocations: 0 / 0.566 GB, free: 7.117 MB / 442.7 MB Notification: Performance of Templates: time 0.04324/0.4099, allocations: 33.02 MB / 0.5983 GB, free: 6.598 MB / 474.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.513750819023699]