Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.000938/0.000938, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001652/0.001652, allocations: 170.6 kB / 24.91 MB, free: 8.77 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.9648/0.9648, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3009/0.3009, allocations: 32.81 MB / 294.6 MB, free: 0.6914 MB / 266.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.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.11e-05, allocations: 2.312 kB / 323.3 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01152/0.01154, allocations: 15.81 MB / 339.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.01988, allocations: 4.048 MB / 343.1 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.02223, allocations: 111.6 kB / 343.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.02525, allocations: 2.303 MB / 345.5 MB, free: 3.141 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.03, allocations: 2.66 MB / 348.2 MB, free: 480 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.03065, allocations: 343.3 kB / 348.5 MB, free: 136 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006873/0.03752, allocations: 6.468 MB / 355 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.04167, allocations: 3.325 MB / 358.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004563/0.04623, allocations: 3.121 MB / 361.4 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003826/0.05006, allocations: 2.778 MB / 364.2 MB, free: 352 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.05125, allocations: 388 kB / 364.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.05288, allocations: 0.8504 MB / 365.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.05506, allocations: 2.921 MB / 368.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.05729, allocations: 1.654 MB / 370 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006008/0.0633, allocations: 6.566 MB / 376.6 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.06331, allocations: 4 kB / 376.6 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06331, allocations: 0 / 376.6 MB, free: 3.926 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003143/0.06362, allocations: 4 kB / 376.6 MB, free: 3.922 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.007488/0.07111, allocations: 6.58 MB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.07115, allocations: 8.031 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006693/0.07784, allocations: 2.528 MB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.08129, allocations: 2.514 MB / 388.2 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003587/0.08165, allocations: 328.2 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006043/0.08225, allocations: 416 kB / 389 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.09322, allocations: 8.019 MB / 397 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-05/0.09331, allocations: 35.69 kB / 397 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004312/0.09374, allocations: 203.7 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003669/0.09741, allocations: 4.157 MB / 401.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/0.1089, allocations: 4.719 MB / 406.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05335/0.1622, allocations: 44.56 MB / 450.6 MB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/0.1692, allocations: 3.282 MB / 453.9 MB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.1702, allocations: 0.5435 MB / 454.5 MB, free: 3.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1724/0.3427, allocations: 6.441 MB / 460.9 MB, free: 126 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.3427, allocations: 56.34 kB / 461 MB, free: 125.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 6.042e-06/0.3427, allocations: 1.75 kB / 461 MB, free: 125.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.007141/0.3499, allocations: 3.442 MB / 464.4 MB, free: 125.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3499, allocations: 104.4 kB / 464.5 MB, free: 125.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003345/0.3532, allocations: 3.816 MB / 468.3 MB, free: 125.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.3535, allocations: 67.86 kB / 468.4 MB, free: 125.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.3552, allocations: 5.107 MB / 473.5 MB, free: 122.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007839/0.356, allocations: 1.22 MB / 474.7 MB, free: 122 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/0.3573, allocations: 1.761 MB / 476.5 MB, free: 121.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.225e-05/0.3574, allocations: 301.1 kB / 476.8 MB, free: 121.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.3585, allocations: 1.024 MB / 477.8 MB, free: 121.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.3608, allocations: 6.188 MB / 484 MB, free: 113.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/0.3657, allocations: 8.293 MB / 492.3 MB, free: 103.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.3658, allocations: 58.75 kB / 492.3 MB, free: 103.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.00722/0.3731, allocations: 6.019 MB / 498.4 MB, free: 97.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.443e-05/0.3731, allocations: 91.98 kB / 498.5 MB, free: 97.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.3733, allocations: 188 kB / 498.6 MB, free: 97.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.3734, allocations: 252 kB / 498.9 MB, free: 97.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/0.3769, allocations: 2.074 MB / 0.4892 GB, free: 94.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001664/0.3771, allocations: 381.5 kB / 0.4896 GB, free: 94.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.3807, allocations: 1.202 MB / 0.4908 GB, free: 93.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004727/0.3812, allocations: 484 kB / 0.4912 GB, free: 92.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002112/0.3833, allocations: 0.8356 MB / 0.492 GB, free: 92.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/0.3837, allocations: 287.7 kB / 0.4923 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3841, allocations: 0.5143 MB / 0.4928 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/0.3841, allocations: 59.97 kB / 0.4929 GB, free: 91.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/0.3841, allocations: 4 kB / 0.4929 GB, free: 91.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.3842, allocations: 11.95 kB / 0.4929 GB, free: 91.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006621/0.3908, allocations: 5.53 MB / 0.4983 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.3908, allocations: 14.3 kB / 0.4983 GB, free: 85.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/0.3917, allocations: 367.4 kB / 0.4986 GB, free: 85.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.3917, allocations: 24 kB / 0.4987 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/0.3918, allocations: 59.3 kB / 0.4987 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.3918, allocations: 38.44 kB / 0.4988 GB, free: 84.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3918, allocations: 27.88 kB / 0.4988 GB, free: 84.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3933, allocations: 1.843 MB / 0.5006 GB, free: 82.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.3938, allocations: 452.1 kB / 0.501 GB, free: 82.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/0.3941, allocations: 59.97 kB / 0.5011 GB, free: 82.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.3947, allocations: 51.94 kB / 0.5011 GB, free: 82.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.3949, allocations: 176.7 kB / 0.5013 GB, free: 82.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.395, allocations: 83.97 kB / 0.5014 GB, free: 82.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.3962, allocations: 1.492 MB / 0.5028 GB, free: 80.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3962, allocations: 0 / 0.5028 GB, free: 80.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00454/0.4007, allocations: 2.025 MB / 0.5048 GB, free: 78.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003338/0.4011, allocations: 187.7 kB / 0.505 GB, free: 78.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.4048, allocations: 3.559 MB / 0.5085 GB, free: 74.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001733/0.4049, allocations: 118.1 kB / 0.5086 GB, free: 74.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006851/0.4056, allocations: 0.6814 MB / 0.5092 GB, free: 73.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.4071, allocations: 437.3 kB / 0.5097 GB, free: 73.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.4212, allocations: 13.31 MB / 0.5227 GB, free: 59.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.4228, allocations: 2.136 MB / 0.5247 GB, free: 57.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001884/0.4247, allocations: 0.7752 MB / 0.5255 GB, free: 57.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/0.4256, allocations: 0.6985 MB / 0.5262 GB, free: 56.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.264e-06/0.4256, allocations: 0 / 0.5262 GB, free: 56.34 MB / 426.7 MB Notification: Performance of Templates: time 0.05488/0.4805, allocations: 32.87 MB / 0.5583 GB, free: 23.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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.351580165326595]