Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001068/0.001068, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001925/0.002993, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001169/0.001169, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001508/0.002677, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9735/0.9735, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.106/1.08, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2467/0.2467, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02418/0.2709, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.472e-05, allocations: 7.078 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01406/0.01408, allocations: 15.93 MB / 308.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00756/0.02164, allocations: 4.072 MB / 312.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.023, allocations: 111.6 kB / 312.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002911/0.02591, allocations: 2.307 MB / 315 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.03008, allocations: 2.703 MB / 317.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.03062, allocations: 315.3 kB / 318.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006231/0.03685, allocations: 6.327 MB / 324.4 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.04006, allocations: 3.072 MB / 327.5 MB, free: 3.273 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.04327, allocations: 3.193 MB / 330.6 MB, free: 76 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.04622, allocations: 2.743 MB / 333.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.04674, allocations: 392 kB / 333.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.048, allocations: 0.8505 MB / 334.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.04984, allocations: 2.649 MB / 337.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.0513, allocations: 1.378 MB / 338.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.05604, allocations: 6.266 MB / 344.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.39e-05/0.05606, allocations: 0 / 344.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.05606, allocations: 0 / 344.9 MB, free: 1.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.955e-05/0.05616, allocations: 0 / 344.9 MB, free: 1.758 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.00629/0.06245, allocations: 7.924 MB / 352.8 MB, free: 9.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.06248, allocations: 8.031 kB / 352.8 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006122/0.0686, allocations: 2.517 MB / 355.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.07136, allocations: 2.525 MB / 357.9 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.07151, allocations: 320.3 kB / 358.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004946/0.072, allocations: 420 kB / 358.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007766/0.07977, allocations: 8.007 MB / 366.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.847e-05/0.07984, allocations: 31.69 kB / 366.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006815/0.08052, allocations: 207.7 kB / 366.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.08388, allocations: 4.2 MB / 371.1 MB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/0.09077, allocations: 4.708 MB / 375.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.1255, allocations: 44.52 MB / 420.3 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005304/0.1308, allocations: 3.207 MB / 423.5 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.1315, allocations: 0.5551 MB / 424 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008216/0.1397, allocations: 6.305 MB / 430.3 MB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1398, allocations: 64.48 kB / 430.4 MB, free: 9.641 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 3.988e-06/0.1398, allocations: 0 / 430.4 MB, free: 9.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.006822/0.1466, allocations: 3.345 MB / 433.8 MB, free: 6.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1466, allocations: 103.1 kB / 433.9 MB, free: 6.148 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.1492, allocations: 3.814 MB / 437.7 MB, free: 2.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.1493, allocations: 69.69 kB / 437.7 MB, free: 2.238 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1495/0.2989, allocations: 5.1 MB / 442.8 MB, free: 103.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.3002, allocations: 1.221 MB / 444.1 MB, free: 103.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.3015, allocations: 1.759 MB / 445.8 MB, free: 102.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.154e-05/0.3015, allocations: 304.1 kB / 446.1 MB, free: 102.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3026, allocations: 1.024 MB / 447.1 MB, free: 102.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.3049, allocations: 6.198 MB / 453.3 MB, free: 95.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004328/0.3093, allocations: 8.283 MB / 461.6 MB, free: 88.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.894e-05/0.3093, allocations: 56.38 kB / 461.7 MB, free: 88.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.005821/0.3151, allocations: 6.012 MB / 467.7 MB, free: 87.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.3152, allocations: 91.53 kB / 467.8 MB, free: 87.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.3153, allocations: 189.5 kB / 468 MB, free: 87.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.3155, allocations: 252.9 kB / 468.2 MB, free: 87.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/0.3188, allocations: 2.223 MB / 470.4 MB, free: 87.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001459/0.3189, allocations: 372.4 kB / 470.8 MB, free: 87.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.3217, allocations: 1.2 MB / 472 MB, free: 86.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004082/0.3221, allocations: 484.8 kB / 472.5 MB, free: 86.65 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.00173/0.3238, allocations: 0.8342 MB / 473.3 MB, free: 86.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.3241, allocations: 291.9 kB / 473.6 MB, free: 86.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.3246, allocations: 0.512 MB / 474.1 MB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.135e-05/0.3246, allocations: 58.28 kB / 474.2 MB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.3246, allocations: 5.406 kB / 474.2 MB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3247, allocations: 11.48 kB / 474.2 MB, free: 86.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00603/0.3307, allocations: 5.504 MB / 479.7 MB, free: 83.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.3307, allocations: 16 kB / 479.7 MB, free: 83.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/0.3316, allocations: 386 kB / 480.1 MB, free: 83.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.3319, allocations: 451.7 kB / 480.5 MB, free: 82.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.3319, allocations: 24 kB / 480.5 MB, free: 82.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.332, allocations: 62.81 kB / 480.6 MB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.332, allocations: 34.78 kB / 480.6 MB, free: 82.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.332, allocations: 20.38 kB / 480.7 MB, free: 82.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3333, allocations: 1.85 MB / 482.5 MB, free: 80.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.3336, allocations: 65.2 kB / 482.6 MB, free: 80.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/0.3342, allocations: 47.94 kB / 482.6 MB, free: 80.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3343, allocations: 179.1 kB / 482.8 MB, free: 80.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/0.3344, allocations: 85.73 kB / 482.9 MB, free: 80.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009935/0.3354, allocations: 1.487 MB / 484.4 MB, free: 79.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3354, allocations: 0 / 484.4 MB, free: 79.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004144/0.3396, allocations: 2.034 MB / 486.4 MB, free: 77.73 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.000301/0.3399, allocations: 188.9 kB / 486.6 MB, free: 77.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.3431, allocations: 3.56 MB / 490.1 MB, free: 74.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001831/0.3432, allocations: 140 kB / 490.3 MB, free: 74.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.3438, allocations: 0.692 MB / 491 MB, free: 73.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.3451, allocations: 0.6968 MB / 491.7 MB, free: 73.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.3626, allocations: 13.64 MB / 0.4935 GB, free: 60.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.3649, allocations: 2.137 MB / 0.4955 GB, free: 57.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00277/0.3676, allocations: 0.7691 MB / 0.4963 GB, free: 57.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/0.3689, allocations: 0.7063 MB / 0.497 GB, free: 56.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3689, allocations: 0 / 0.497 GB, free: 56.46 MB / 426.7 MB Notification: Performance of Templates: time 0.0502/0.4191, allocations: 33.31 MB / 0.5295 GB, free: 23.71 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.136425380595028]