Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001352/0.001352, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001326/0.001326, allocations: 167.6 kB / 24.84 MB, free: 9.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.047/1.047, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1453/0.1453, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.984 kB / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.011e-05, allocations: 4.281 kB / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.008853/0.008884, allocations: 11.21 MB / 360.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009099/0.01798, allocations: 4.081 MB / 364.3 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.02068, allocations: 83.56 kB / 364.4 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.02457, allocations: 2.998 MB / 367.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.02925, allocations: 2.018 MB / 369.4 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.03067, allocations: 0.7523 MB / 370.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004778/0.03545, allocations: 4.237 MB / 374.4 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.03949, allocations: 3.331 MB / 377.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.04307, allocations: 2.436 MB / 380.1 MB, free: 9.797 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.04643, allocations: 2.33 MB / 382.5 MB, free: 7.461 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00096/0.04739, allocations: 360 kB / 382.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.04945, allocations: 1.162 MB / 384 MB, free: 5.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.05117, allocations: 2.166 MB / 386.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.05353, allocations: 1.363 MB / 387.5 MB, free: 2.406 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.05939, allocations: 4.74 MB / 392.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.0594, allocations: 0 / 392.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.0594, allocations: 0 / 392.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002193/0.05962, allocations: 0 / 392.2 MB, free: 13.65 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.007679/0.0673, allocations: 5.143 MB / 397.4 MB, free: 8.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.06734, allocations: 8.031 kB / 397.4 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.07076, allocations: 1.539 MB / 398.9 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.07319, allocations: 1.909 MB / 400.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.07332, allocations: 258.9 kB / 401.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005538/0.07387, allocations: 420.3 kB / 401.5 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006771/0.08065, allocations: 5.766 MB / 407.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.08075, allocations: 39.64 kB / 407.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/0.08106, allocations: 163.8 kB / 407.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.08273, allocations: 1.764 MB / 409.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005807/0.08854, allocations: 2.756 MB / 412 MB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2474/0.3359, allocations: 43.53 MB / 455.5 MB, free: 65.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00532/0.3412, allocations: 1.935 MB / 457.5 MB, free: 64.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.3422, allocations: 0.542 MB / 458 MB, free: 64.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007119/0.3494, allocations: 4.544 MB / 462.5 MB, free: 63.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3494, allocations: 49.7 kB / 462.6 MB, free: 63.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=153): time 4.107e-06/0.3494, allocations: 0 / 462.6 MB, free: 63.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.01324/0.3626, allocations: 5.618 MB / 468.2 MB, free: 63.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008547/0.3635, allocations: 2.011 MB / 470.2 MB, free: 61.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003569/0.3671, allocations: 3.414 MB / 473.6 MB, free: 60.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002658/0.3673, allocations: 50 kB / 473.7 MB, free: 60.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.3689, allocations: 3.511 MB / 477.2 MB, free: 58.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006676/0.3696, allocations: 0.6981 MB / 477.9 MB, free: 58.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.3707, allocations: 1.344 MB / 479.2 MB, free: 58.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.3708, allocations: 476.8 kB / 479.7 MB, free: 57.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3719, allocations: 0.6687 MB / 480.4 MB, free: 57.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.3746, allocations: 6.249 MB / 486.6 MB, free: 49.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005322/0.3799, allocations: 7.654 MB / 494.3 MB, free: 39.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/0.38, allocations: 40 kB / 494.3 MB, free: 39.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01033/0.3903, allocations: 5.398 MB / 499.7 MB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.3904, allocations: 62.66 kB / 499.8 MB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003909/0.3943, allocations: 1.272 MB / 0.4893 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005048/0.3994, allocations: 0.58 MB / 0.4899 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/0.4028, allocations: 1.341 MB / 0.4912 GB, free: 30.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.4069, allocations: 4.301 MB / 0.4954 GB, free: 26.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/0.4113, allocations: 274.2 kB / 0.4956 GB, free: 26.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006334/0.412, allocations: 328 kB / 0.496 GB, free: 25.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (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 (754): * Single equations (assignments): 745 * 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.001649/0.4136, allocations: 0.6685 MB / 0.4966 GB, free: 25.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007189/0.4143, allocations: 357.8 kB / 0.4969 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002659/0.417, allocations: 1.369 MB / 0.4983 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001939/0.4189, allocations: 0.9143 MB / 0.4992 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4189, allocations: 4 kB / 0.4992 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4189, allocations: 7.969 kB / 0.4992 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009294/0.4282, allocations: 5.129 MB / 0.5042 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.4282, allocations: 0 / 0.5042 GB, free: 17.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008041/0.429, allocations: 211.7 kB / 0.5044 GB, free: 17.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4304, allocations: 362.1 kB / 0.5047 GB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.4306, allocations: 39.97 kB / 0.5048 GB, free: 16.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/0.4331, allocations: 3.996 MB / 0.5087 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005414/0.4336, allocations: 1.87 MB / 0.5105 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003698/0.4373, allocations: 2.364 MB / 0.5128 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/0.4381, allocations: 301.7 kB / 0.5131 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.4385, allocations: 35.94 kB / 0.5131 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/0.4394, allocations: 28.86 kB / 0.5132 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/0.4397, allocations: 104.7 kB / 0.5133 GB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4398, allocations: 39.97 kB / 0.5133 GB, free: 7.477 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.4413, allocations: 1.352 MB / 0.5146 GB, free: 6.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4413, allocations: 4 kB / 0.5146 GB, free: 6.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004484/0.4458, allocations: 1.152 MB / 0.5158 GB, free: 4.977 MB / 378.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 (126): * Single equations (assignments): 119 * 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.0003848/0.4462, allocations: 190.7 kB / 0.5159 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005181/0.4514, allocations: 3.316 MB / 0.5192 GB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4514, allocations: 0 / 0.5192 GB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.4531, allocations: 1.13 MB / 0.5203 GB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.4554, allocations: 408.8 kB / 0.5207 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.4718, allocations: 7.88 MB / 0.5284 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001763/0.4736, allocations: 1.244 MB / 0.5296 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001815/0.4754, allocations: 482.5 kB / 0.53 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/0.4768, allocations: 0.5723 MB / 0.5306 GB, free: 5.59 MB / 394.7 MB Notification: Performance of SimCode: time 3.366e-06/0.4768, allocations: 0 / 0.5306 GB, free: 5.59 MB / 394.7 MB Notification: Performance of Templates: time 0.05698/0.5338, allocations: 38.71 MB / 0.5684 GB, free: 14.91 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.710227780044079]