Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001011/0.001011, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.000992/0.000992, allocations: 168.6 kB / 25.61 MB, free: 8.902 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 0.9226/0.9226, allocations: 177.1 MB / 206.1 MB, free: 4.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1365/0.1365, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.921e-05, allocations: 2.312 kB / 377.2 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01061/0.01063, allocations: 10.51 MB / 387.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008951/0.01958, allocations: 3.977 MB / 391.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.02209, allocations: 79.56 kB / 391.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004471/0.02656, allocations: 2.967 MB / 394.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.02954, allocations: 1.87 MB / 396.7 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.03049, allocations: 0.7678 MB / 397.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003109/0.0336, allocations: 4.072 MB / 401.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.03659, allocations: 3.23 MB / 404.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.03978, allocations: 2.308 MB / 407 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.04269, allocations: 2.182 MB / 409.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000954/0.04365, allocations: 336 kB / 409.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.046, allocations: 1.131 MB / 410.7 MB, free: 8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.0473, allocations: 2.018 MB / 412.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009512/0.04825, allocations: 1.258 MB / 413.9 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.05187, allocations: 4.402 MB / 418.3 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.05188, allocations: 3.938 kB / 418.4 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.05188, allocations: 7.938 kB / 418.4 MB, free: 292 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/0.05191, allocations: 0 / 418.4 MB, free: 292 kB / 330.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.004283/0.05619, allocations: 4.836 MB / 423.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.05623, allocations: 15.98 kB / 423.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.05952, allocations: 1.489 MB / 424.7 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.06119, allocations: 1.815 MB / 426.5 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.06131, allocations: 242.6 kB / 426.8 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000489/0.0618, allocations: 396.4 kB / 427.1 MB, free: 7.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/0.06727, allocations: 5.503 MB / 432.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/0.06734, allocations: 39.67 kB / 432.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.06759, allocations: 151.9 kB / 432.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001285/0.06888, allocations: 1.591 MB / 434.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004025/0.0729, allocations: 2.603 MB / 437 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/0.1003, allocations: 41.66 MB / 478.7 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004121/0.1044, allocations: 1.931 MB / 480.6 MB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.105, allocations: 0.5029 MB / 481.1 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004924/0.1099, allocations: 4.327 MB / 485.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1099, allocations: 50.33 kB / 485.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=141): time 2.575e-06/0.1099, allocations: 0 / 485.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.01198/0.1219, allocations: 5.403 MB / 490.9 MB, free: 5.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008738/0.1228, allocations: 2.024 MB / 492.9 MB, free: 2.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1669/0.2897, allocations: 3.274 MB / 496.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000469/0.2902, allocations: 47.45 kB / 496.2 MB, free: 112.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.2919, allocations: 3.317 MB / 499.6 MB, free: 111.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005733/0.2925, allocations: 0.6503 MB / 0.4885 GB, free: 111 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.2936, allocations: 1.272 MB / 0.4897 GB, free: 110.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.2937, allocations: 483.3 kB / 0.4902 GB, free: 110.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009209/0.2946, allocations: 0.6096 MB / 0.4908 GB, free: 110.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.2979, allocations: 6.006 MB / 0.4967 GB, free: 103.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/0.3018, allocations: 7.334 MB / 0.5038 GB, free: 96.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.391e-05/0.3018, allocations: 37.94 kB / 0.5038 GB, free: 96.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=751) (initialization): time 0.007649/0.3095, allocations: 5.133 MB / 0.5089 GB, free: 95.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.3096, allocations: 63.78 kB / 0.5089 GB, free: 95.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003434/0.313, allocations: 1.156 MB / 0.5101 GB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/0.3165, allocations: 0.5758 MB / 0.5106 GB, free: 94.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.3184, allocations: 1.271 MB / 0.5119 GB, free: 93.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.3214, allocations: 4.289 MB / 0.516 GB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.3236, allocations: 268.4 kB / 0.5163 GB, free: 88.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.3239, allocations: 311.7 kB / 0.5166 GB, free: 88.43 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.001012/0.3249, allocations: 0.6441 MB / 0.5172 GB, free: 87.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.3252, allocations: 342 kB / 0.5176 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.3255, allocations: 342.6 kB / 0.5179 GB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001448/0.327, allocations: 0.8625 MB / 0.5187 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.327, allocations: 6.875 kB / 0.5187 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.327, allocations: 7.969 kB / 0.5187 GB, free: 86.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/0.3325, allocations: 4.758 MB / 0.5234 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3326, allocations: 0 / 0.5234 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.3331, allocations: 195.8 kB / 0.5236 GB, free: 82.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.3342, allocations: 366 kB / 0.5239 GB, free: 82.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.3343, allocations: 35.98 kB / 0.524 GB, free: 82.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/0.3361, allocations: 3.996 MB / 0.5279 GB, free: 77.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00042/0.3365, allocations: 1.869 MB / 0.5297 GB, free: 75.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.3388, allocations: 2.273 MB / 0.5319 GB, free: 73.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.339, allocations: 285.8 kB / 0.5322 GB, free: 73.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.3392, allocations: 28 kB / 0.5322 GB, free: 73.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.3398, allocations: 27.98 kB / 0.5322 GB, free: 73.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3399, allocations: 94.86 kB / 0.5323 GB, free: 73.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.34, allocations: 43.97 kB / 0.5324 GB, free: 73.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008329/0.3408, allocations: 1.289 MB / 0.5336 GB, free: 71.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3408, allocations: 5.312 kB / 0.5336 GB, free: 71.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002501/0.3433, allocations: 1.06 MB / 0.5347 GB, free: 70.89 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.0002772/0.3436, allocations: 176.5 kB / 0.5348 GB, free: 70.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.3467, allocations: 3.161 MB / 0.5379 GB, free: 67.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3467, allocations: 192 / 0.5379 GB, free: 67.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.3479, allocations: 1.097 MB / 0.539 GB, free: 66.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.349, allocations: 400 kB / 0.5394 GB, free: 66.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.3559, allocations: 7.378 MB / 0.5466 GB, free: 58.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.3567, allocations: 1.169 MB / 0.5477 GB, free: 57.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001/0.3577, allocations: 452.6 kB / 0.5481 GB, free: 56.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/0.3584, allocations: 0.5488 MB / 0.5487 GB, free: 56.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3584, allocations: 11.94 kB / 0.5487 GB, free: 56.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03968/0.398, allocations: 36.55 MB / 0.5844 GB, free: 20.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.330913481302559]