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.001236/0.001236, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001037/0.001037, allocations: 166.4 kB / 24.82 MB, free: 9.27 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.9784/0.9784, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2798/0.2798, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.873e-06/1.873e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.677e-05, allocations: 2.312 kB / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01617/0.01619, allocations: 15.77 MB / 392.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006231/0.02242, allocations: 3.866 MB / 396.1 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.02319, allocations: 115.6 kB / 396.2 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.02536, allocations: 2.296 MB / 398.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.02798, allocations: 2.683 MB / 401.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.02841, allocations: 343.2 kB / 401.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004804/0.03321, allocations: 6.651 MB / 408.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002462/0.03568, allocations: 3.204 MB / 411.4 MB, free: 1.336 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.03813, allocations: 3.125 MB / 414.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.0406, allocations: 2.945 MB / 417.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.041, allocations: 392 kB / 417.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.04204, allocations: 0.8349 MB / 418.7 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.04353, allocations: 2.913 MB / 421.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.04477, allocations: 1.654 MB / 423.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.0493, allocations: 6.573 MB / 429.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.04931, allocations: 0 / 429.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.04931, allocations: 0 / 429.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.899e-05/0.04938, allocations: 8 kB / 429.8 MB, free: 14.84 MB / 410.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.006629/0.05601, allocations: 7.637 MB / 437.5 MB, free: 7.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.05605, allocations: 8.031 kB / 437.5 MB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/0.06578, allocations: 3.281 MB / 440.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003898/0.06968, allocations: 2.832 MB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.06988, allocations: 324.2 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006469/0.07053, allocations: 416 kB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1808/0.2513, allocations: 8.577 MB / 452.9 MB, free: 92.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.814e-05/0.2514, allocations: 34.81 kB / 452.9 MB, free: 92.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/0.2518, allocations: 206.3 kB / 453.1 MB, free: 92.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003371/0.2552, allocations: 4.16 MB / 457.3 MB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009171/0.2644, allocations: 4.599 MB / 461.9 MB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06019/0.3245, allocations: 58.78 MB / 0.5085 GB, free: 47.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008507/0.3331, allocations: 3.261 MB / 0.5116 GB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001722/0.3348, allocations: 0.6548 MB / 0.5123 GB, free: 45.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.3469, allocations: 6.905 MB / 0.519 GB, free: 39.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.3469, allocations: 59.39 kB / 0.5191 GB, free: 39.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 7.794e-06/0.3469, allocations: 0 / 0.5191 GB, free: 39.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.00865/0.3556, allocations: 3.966 MB / 0.5229 GB, free: 35.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.3556, allocations: 99.11 kB / 0.523 GB, free: 35.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005336/0.361, allocations: 4.857 MB / 0.5278 GB, free: 31.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.3615, allocations: 65.69 kB / 0.5278 GB, free: 31.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.3639, allocations: 5.551 MB / 0.5333 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.3654, allocations: 1.314 MB / 0.5346 GB, free: 24.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/0.3675, allocations: 2.108 MB / 0.5366 GB, free: 22.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.3675, allocations: 476.8 kB / 0.5371 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.3687, allocations: 0.7791 MB / 0.5378 GB, free: 21.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004827/0.3735, allocations: 8.896 MB / 0.5465 GB, free: 8.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009109/0.3826, allocations: 10.84 MB / 0.5571 GB, free: 10.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003171/0.3829, allocations: 56 kB / 0.5572 GB, free: 9.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0155/0.3984, allocations: 7.177 MB / 0.5642 GB, free: 2.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3985, allocations: 91.98 kB / 0.5643 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/0.3987, allocations: 192 kB / 0.5644 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.3989, allocations: 252 kB / 0.5647 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/0.4041, allocations: 1.992 MB / 0.5666 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/0.4045, allocations: 386.6 kB / 0.567 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005845/0.4103, allocations: 1.206 MB / 0.5682 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/0.4118, allocations: 487.9 kB / 0.5686 GB, free: 14.2 MB / 442.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.004088/0.4159, allocations: 0.8785 MB / 0.5695 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/0.4167, allocations: 0.5126 MB / 0.57 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000932/0.4176, allocations: 0.5066 MB / 0.5705 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.246e-05/0.4177, allocations: 59.97 kB / 0.5705 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/0.4178, allocations: 4 kB / 0.5705 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/0.4178, allocations: 19.88 kB / 0.5706 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.4314, allocations: 6.353 MB / 0.5768 GB, free: 5.508 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.4314, allocations: 12 kB / 0.5768 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/0.4324, allocations: 347.4 kB / 0.5771 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.453e-05/0.4324, allocations: 24.81 kB / 0.5771 GB, free: 5.133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.4326, allocations: 67.97 kB / 0.5772 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.27e-05/0.4326, allocations: 27.94 kB / 0.5772 GB, free: 5.039 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.361e-05/0.4326, allocations: 23.88 kB / 0.5772 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.4355, allocations: 2.52 MB / 0.5797 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009348/0.4364, allocations: 460.1 kB / 0.5801 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/0.4368, allocations: 59.3 kB / 0.5802 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.4376, allocations: 48 kB / 0.5803 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.4378, allocations: 192.6 kB / 0.5804 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.438, allocations: 76 kB / 0.5805 GB, free: 1.367 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002358/0.4403, allocations: 1.816 MB / 0.5823 GB, free: 15.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4403, allocations: 0 / 0.5823 GB, free: 15.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008061/0.4484, allocations: 2.029 MB / 0.5843 GB, free: 13.52 MB / 458.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.0009093/0.4493, allocations: 206.4 kB / 0.5845 GB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007879/0.4572, allocations: 3.939 MB / 0.5883 GB, free: 9.398 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/0.4572, allocations: 0 / 0.5883 GB, free: 9.398 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.4586, allocations: 0.8134 MB / 0.5891 GB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/0.4617, allocations: 438.1 kB / 0.5895 GB, free: 8.152 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2021/0.6638, allocations: 13 MB / 0.6022 GB, free: 121.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006112/0.6699, allocations: 2.168 MB / 0.6043 GB, free: 120.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003692/0.6736, allocations: 0.7698 MB / 0.6051 GB, free: 120.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.6749, allocations: 0.7363 MB / 0.6058 GB, free: 120.7 MB / 458.7 MB Notification: Performance of SimCode: time 3.206e-06/0.6749, allocations: 0 / 0.6058 GB, free: 120.7 MB / 458.7 MB Notification: Performance of Templates: time 0.073/0.7479, allocations: 32.95 MB / 0.638 GB, free: 113.8 MB / 458.7 MB " [Timeout remaining time 659] 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 -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.8882291917689145]