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.0009372/0.0009372, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009837/0.0009837, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9565/0.9565, allocations: 177 MB / 205.2 MB, free: 5.047 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.2465/0.2465, allocations: 34.87 MB / 296.6 MB, free: 476 kB / 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.873e-06/1.873e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.571e-05, allocations: 6.312 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008208/0.008224, allocations: 10.56 MB / 336.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.01363, allocations: 4.147 MB / 340.6 MB, free: 8.379 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006382/0.01427, allocations: 79.62 kB / 340.7 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.01692, allocations: 2.947 MB / 343.7 MB, free: 5.344 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.01924, allocations: 1.851 MB / 345.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.02021, allocations: 0.7678 MB / 346.3 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002993/0.0232, allocations: 4.073 MB / 350.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.02552, allocations: 3.191 MB / 353.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.02734, allocations: 2.269 MB / 355.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.02908, allocations: 2.077 MB / 357.9 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.02942, allocations: 336 kB / 358.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.03069, allocations: 1.174 MB / 359.4 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.03177, allocations: 2.014 MB / 361.4 MB, free: 3.48 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009894/0.03276, allocations: 1.258 MB / 362.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.03633, allocations: 4.41 MB / 367.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.03634, allocations: 0 / 367.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03634, allocations: 4 kB / 367.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.441e-05/0.03642, allocations: 0 / 367.1 MB, free: 13.79 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.005064/0.04148, allocations: 4.277 MB / 371.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.04152, allocations: 12.03 kB / 371.4 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/0.04502, allocations: 1.117 MB / 372.5 MB, free: 8.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.04718, allocations: 1.683 MB / 374.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.04733, allocations: 234.6 kB / 374.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/0.04798, allocations: 412.3 kB / 374.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00634/0.05432, allocations: 4.921 MB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.273e-05/0.0544, allocations: 47.62 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.05472, allocations: 159.9 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/0.05646, allocations: 1.595 MB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005176/0.06163, allocations: 2.568 MB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.08486, allocations: 29.96 MB / 414.1 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004833/0.08969, allocations: 1.827 MB / 415.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.09029, allocations: 417.3 kB / 416.3 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005525/0.09582, allocations: 3.907 MB / 420.2 MB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.09585, allocations: 55.5 kB / 420.3 MB, free: 6.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 2.935e-06/0.09585, allocations: 0 / 420.3 MB, free: 6.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.01258/0.1084, allocations: 4.568 MB / 424.8 MB, free: 1.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008286/0.1093, allocations: 1.48 MB / 426.3 MB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.1117, allocations: 2.941 MB / 429.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.1119, allocations: 45.7 kB / 429.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.1131, allocations: 2.966 MB / 432.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004786/0.1135, allocations: 0.6242 MB / 432.9 MB, free: 9.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009237/0.1145, allocations: 1.096 MB / 434 MB, free: 8.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.1145, allocations: 305.1 kB / 434.3 MB, free: 8.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.1156, allocations: 0.7769 MB / 435 MB, free: 7.516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/0.1185, allocations: 4.248 MB / 439.3 MB, free: 1.453 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.1229, allocations: 5.645 MB / 444.9 MB, free: 10 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.675e-05/0.1229, allocations: 40 kB / 445 MB, free: 9.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.01111/0.134, allocations: 4.421 MB / 449.4 MB, free: 5.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.1341, allocations: 60 kB / 449.5 MB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005428/0.1395, allocations: 1.023 MB / 450.5 MB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003398/0.1429, allocations: 0.5683 MB / 451 MB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.1456, allocations: 1.322 MB / 452.4 MB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1629/0.3085, allocations: 3.173 MB / 455.5 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.3114, allocations: 264.2 kB / 455.8 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/0.3118, allocations: 311.8 kB / 456.1 MB, free: 105.7 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.001208/0.313, allocations: 0.6006 MB / 456.7 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.3133, allocations: 190.8 kB / 456.9 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3136, allocations: 345 kB / 457.2 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001435/0.3151, allocations: 0.7229 MB / 458 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.3151, allocations: 4 kB / 458 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.3151, allocations: 6.188 kB / 458 MB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.3203, allocations: 4.01 MB / 462 MB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.3203, allocations: 2.625 kB / 462 MB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.3209, allocations: 213.7 kB / 462.2 MB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/0.3221, allocations: 0.5103 MB / 462.7 MB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/0.3222, allocations: 32.09 kB / 462.7 MB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.324, allocations: 2.885 MB / 465.6 MB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003863/0.3244, allocations: 1.347 MB / 467 MB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.3266, allocations: 1.93 MB / 468.9 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.3268, allocations: 282.8 kB / 469.2 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.327, allocations: 28.7 kB / 469.2 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.3276, allocations: 27.31 kB / 469.2 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.3278, allocations: 96.41 kB / 469.3 MB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.3279, allocations: 38.64 kB / 469.3 MB, free: 100.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008175/0.3287, allocations: 1.05 MB / 470.4 MB, free: 100.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3287, allocations: 0 / 470.4 MB, free: 100.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002851/0.3315, allocations: 1.06 MB / 471.5 MB, free: 100.4 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.0003304/0.3319, allocations: 155 kB / 471.6 MB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3353, allocations: 2.848 MB / 474.5 MB, free: 99.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001524/0.3355, allocations: 96.47 kB / 474.6 MB, free: 99.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.3366, allocations: 0.9036 MB / 475.5 MB, free: 99.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.3379, allocations: 0.5894 MB / 476 MB, free: 99.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/0.345, allocations: 7.147 MB / 483.2 MB, free: 95.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.3458, allocations: 1.16 MB / 484.4 MB, free: 95.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009338/0.3468, allocations: 447.3 kB / 484.8 MB, free: 94.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007029/0.3475, allocations: 0.5164 MB / 485.3 MB, free: 94.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.3475, allocations: 0 / 485.3 MB, free: 94.35 MB / 426.7 MB Notification: Performance of Templates: time 0.04174/0.3892, allocations: 35.65 MB / 0.5087 GB, free: 60.49 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 -s gbode -gbm=radauIIA3 -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.032419808208942]