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.001285/0.001285, allocations: 88.73 kB / 21.5 MB, free: 2.98 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.001234/0.001234, allocations: 166.2 kB / 24.91 MB, free: 8.758 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.9718/0.9718, allocations: 177 MB / 205.2 MB, free: 5.43 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.2768/0.2768, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.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.253e-06/1.253e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.397e-05, allocations: 2.312 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.007882/0.007896, allocations: 10.52 MB / 336.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004805/0.0127, allocations: 4.136 MB / 340.5 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.01321, allocations: 79.62 kB / 340.6 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.0162, allocations: 3.002 MB / 343.6 MB, free: 5.375 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.01852, allocations: 1.886 MB / 345.5 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008725/0.01939, allocations: 0.7679 MB / 346.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003146/0.02254, allocations: 4.073 MB / 350.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.02455, allocations: 3.312 MB / 353.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.02626, allocations: 2.304 MB / 356 MB, free: 8.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.02787, allocations: 2.081 MB / 358 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.02815, allocations: 336 kB / 358.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.02929, allocations: 1.131 MB / 359.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.03035, allocations: 2.014 MB / 361.5 MB, free: 3.359 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.03131, allocations: 1.262 MB / 362.8 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.03414, allocations: 4.41 MB / 367.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.03414, allocations: 0 / 367.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.03414, allocations: 0 / 367.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.008e-05/0.03417, allocations: 4 kB / 367.2 MB, free: 13.66 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.003772/0.03795, allocations: 4.273 MB / 371.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.03798, allocations: 8.031 kB / 371.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.04038, allocations: 1.125 MB / 372.6 MB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.04205, allocations: 1.675 MB / 374.3 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.04216, allocations: 242.6 kB / 374.5 MB, free: 6.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005041/0.04267, allocations: 404.3 kB / 374.9 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.0473, allocations: 4.925 MB / 379.8 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.5e-05/0.04737, allocations: 43.62 kB / 379.9 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002388/0.0476, allocations: 151.9 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001254/0.04886, allocations: 1.595 MB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.05247, allocations: 2.564 MB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.07041, allocations: 29.98 MB / 414.2 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.07382, allocations: 1.823 MB / 416 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.07425, allocations: 411.5 kB / 416.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004102/0.07835, allocations: 3.907 MB / 420.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.07838, allocations: 55.38 kB / 420.3 MB, free: 6.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 2.876e-06/0.07839, allocations: 4 kB / 420.4 MB, free: 6.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.008986/0.08737, allocations: 4.573 MB / 424.9 MB, free: 1.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007778/0.08815, allocations: 1.488 MB / 426.4 MB, free: 220 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.09001, allocations: 2.937 MB / 429.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.09009, allocations: 41.7 kB / 429.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.09114, allocations: 2.966 MB / 432.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.09146, allocations: 0.6243 MB / 433 MB, free: 9.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009652/0.09243, allocations: 1.088 MB / 434.1 MB, free: 8.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.09248, allocations: 301.1 kB / 434.4 MB, free: 8.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.09355, allocations: 0.7769 MB / 435.1 MB, free: 7.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.09605, allocations: 4.252 MB / 439.4 MB, free: 1.336 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003664/0.09972, allocations: 5.644 MB / 445 MB, free: 9.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.09975, allocations: 36 kB / 445.1 MB, free: 9.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.006375/0.1061, allocations: 4.426 MB / 449.5 MB, free: 5.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.1062, allocations: 63.98 kB / 449.6 MB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003252/0.1094, allocations: 1.023 MB / 450.6 MB, free: 4.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/0.1126, allocations: 0.5723 MB / 451.2 MB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/0.1146, allocations: 1.267 MB / 452.4 MB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/0.253, allocations: 3.161 MB / 455.6 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.2556, allocations: 266.9 kB / 455.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/0.256, allocations: 310.6 kB / 456.1 MB, free: 118.2 MB / 426.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.001024/0.2571, allocations: 0.5996 MB / 456.7 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/0.2573, allocations: 198.1 kB / 456.9 MB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.2576, allocations: 349.9 kB / 457.3 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001294/0.2589, allocations: 0.7134 MB / 458 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2589, allocations: 3.5 kB / 458 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2589, allocations: 6.141 kB / 458 MB, free: 118 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.2636, allocations: 4.012 MB / 462 MB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2636, allocations: 3.75 kB / 462 MB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.2641, allocations: 194.5 kB / 462.2 MB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.2653, allocations: 0.5068 MB / 462.7 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-05/0.2653, allocations: 34.97 kB / 462.8 MB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/0.267, allocations: 2.881 MB / 465.6 MB, free: 114.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003148/0.2673, allocations: 1.347 MB / 467 MB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.2693, allocations: 1.937 MB / 468.9 MB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.2695, allocations: 278.2 kB / 469.2 MB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.2697, allocations: 25.91 kB / 469.2 MB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.2702, allocations: 31.81 kB / 469.2 MB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.2704, allocations: 98.78 kB / 469.3 MB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/0.2704, allocations: 30.77 kB / 469.4 MB, free: 112.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007085/0.2711, allocations: 1.044 MB / 470.4 MB, free: 112.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2711, allocations: 0 / 470.4 MB, free: 112.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002278/0.2734, allocations: 1.062 MB / 471.5 MB, free: 112.8 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.0002679/0.2737, allocations: 155.9 kB / 471.6 MB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.2765, allocations: 2.852 MB / 474.5 MB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001177/0.2766, allocations: 96.72 kB / 474.6 MB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2776, allocations: 0.9108 MB / 475.5 MB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.2788, allocations: 0.5874 MB / 476.1 MB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005811/0.2846, allocations: 7.136 MB / 483.2 MB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/0.2854, allocations: 1.164 MB / 484.4 MB, free: 104.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008488/0.2863, allocations: 460.8 kB / 484.8 MB, free: 104.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.2869, allocations: 0.5089 MB / 485.3 MB, free: 103.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.153e-06/0.2869, allocations: 0 / 485.3 MB, free: 103.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0371/0.324, allocations: 35.64 MB / 0.5088 GB, free: 69.06 MB / 426.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.064113538246602]