Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 84.34 kB / 22.22 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 160 kB / 25.61 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9933/0.9933, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1887/0.1887, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.8e-05, allocations: 3.969 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.006782/0.00681, allocations: 10.52 MB / 390.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006771/0.01358, allocations: 3.989 MB / 394.5 MB, free: 8.203 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.01556, allocations: 75.62 kB / 394.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.01837, allocations: 2.963 MB / 397.5 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003321/0.0217, allocations: 1.886 MB / 399.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.02277, allocations: 0.7562 MB / 400.2 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.02622, allocations: 4.074 MB / 404.2 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003263/0.02948, allocations: 3.226 MB / 407.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00292/0.0324, allocations: 2.304 MB / 409.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002574/0.03498, allocations: 2.174 MB / 412 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000726/0.0357, allocations: 336 kB / 412.3 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.03735, allocations: 1.135 MB / 413.4 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001681/0.03903, allocations: 2.018 MB / 415.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.04076, allocations: 1.254 MB / 416.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004688/0.04545, allocations: 4.41 MB / 421.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.04545, allocations: 7.984 kB / 421.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.04545, allocations: 0 / 421.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.083e-05/0.04554, allocations: 0 / 421.1 MB, free: 13.46 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.005271/0.05081, allocations: 4.836 MB / 425.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.05085, allocations: 8.031 kB / 425.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.05398, allocations: 1.496 MB / 427.4 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.05612, allocations: 1.811 MB / 429.3 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.05627, allocations: 242.6 kB / 429.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/0.05681, allocations: 400.4 kB / 429.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.06349, allocations: 5.491 MB / 435.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-05/0.06356, allocations: 39.67 kB / 435.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.06382, allocations: 155.9 kB / 435.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001325/0.06514, allocations: 1.595 MB / 437.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004535/0.06968, allocations: 2.603 MB / 439.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.1003, allocations: 41.66 MB / 481.4 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/0.1046, allocations: 1.928 MB / 483.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.1052, allocations: 0.5025 MB / 483.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005487/0.1107, allocations: 4.335 MB / 488.2 MB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1107, allocations: 50.39 kB / 488.2 MB, free: 7.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 4.609e-06/0.1107, allocations: 0 / 488.2 MB, free: 7.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01309/0.1238, allocations: 5.412 MB / 493.6 MB, free: 2.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000939/0.1247, allocations: 2.016 MB / 495.7 MB, free: 112 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1745/0.2992, allocations: 3.277 MB / 498.9 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.2995, allocations: 44.62 kB / 499 MB, free: 111.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.3008, allocations: 3.313 MB / 0.4905 GB, free: 109.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.3013, allocations: 0.6541 MB / 0.4912 GB, free: 109.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.3024, allocations: 1.282 MB / 0.4924 GB, free: 109.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.3025, allocations: 480.6 kB / 0.4929 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.3037, allocations: 0.6129 MB / 0.4935 GB, free: 108.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.3061, allocations: 6.008 MB / 0.4993 GB, free: 102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.3098, allocations: 7.331 MB / 0.5065 GB, free: 94.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.429e-05/0.3098, allocations: 39.09 kB / 0.5065 GB, free: 94.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.007152/0.3169, allocations: 5.141 MB / 0.5116 GB, free: 92.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.317, allocations: 64.97 kB / 0.5116 GB, free: 92.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003416/0.3204, allocations: 1.145 MB / 0.5127 GB, free: 91.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/0.3239, allocations: 0.585 MB / 0.5133 GB, free: 91.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.3258, allocations: 1.273 MB / 0.5146 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.3289, allocations: 4.282 MB / 0.5187 GB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.3313, allocations: 269.8 kB / 0.519 GB, free: 85.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.3316, allocations: 317.1 kB / 0.5193 GB, free: 85.27 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.001086/0.3327, allocations: 0.6416 MB / 0.5199 GB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.3331, allocations: 341.9 kB / 0.5202 GB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.3334, allocations: 344.1 kB / 0.5206 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001409/0.3348, allocations: 0.8667 MB / 0.5214 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3348, allocations: 4 kB / 0.5214 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.3348, allocations: 3.891 kB / 0.5214 GB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005303/0.3401, allocations: 4.746 MB / 0.5261 GB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3401, allocations: 4 kB / 0.5261 GB, free: 78.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005089/0.3406, allocations: 195.7 kB / 0.5263 GB, free: 78.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.3417, allocations: 362.2 kB / 0.5266 GB, free: 78.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/0.3417, allocations: 35.97 kB / 0.5266 GB, free: 77.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.3435, allocations: 3.995 MB / 0.5305 GB, free: 73.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000382/0.3439, allocations: 1.879 MB / 0.5324 GB, free: 71.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.346, allocations: 2.266 MB / 0.5346 GB, free: 69.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.3463, allocations: 285.8 kB / 0.5349 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.3465, allocations: 31.97 kB / 0.5349 GB, free: 69.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.347, allocations: 28 kB / 0.5349 GB, free: 69.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3472, allocations: 92.81 kB / 0.535 GB, free: 69.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.3472, allocations: 35.97 kB / 0.535 GB, free: 68.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007913/0.348, allocations: 1.29 MB / 0.5363 GB, free: 67.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.348, allocations: 0 / 0.5363 GB, free: 67.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002475/0.3505, allocations: 1.066 MB / 0.5373 GB, free: 66.63 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.0002868/0.3508, allocations: 184.8 kB / 0.5375 GB, free: 66.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.3541, allocations: 3.159 MB / 0.5406 GB, free: 63.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3542, allocations: 4.188 kB / 0.5406 GB, free: 63.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.3554, allocations: 1.1 MB / 0.5417 GB, free: 62.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3566, allocations: 397.4 kB / 0.5421 GB, free: 61.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/0.3637, allocations: 7.38 MB / 0.5493 GB, free: 54.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007976/0.3645, allocations: 1.167 MB / 0.5504 GB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009791/0.3655, allocations: 455.2 kB / 0.5508 GB, free: 52.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006429/0.3661, allocations: 0.5527 MB / 0.5514 GB, free: 52.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3661, allocations: 0 / 0.5514 GB, free: 52.07 MB / 410.7 MB Notification: Performance of Templates: time 0.0426/0.4087, allocations: 36.55 MB / 0.5871 GB, free: 15.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.756237980909646]