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.001027/0.001027, 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.0009432/0.0009432, allocations: 171.5 kB / 24.91 MB, free: 8.773 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.9394/0.9394, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.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.2428/0.2428, allocations: 34.27 MB / 296.1 MB, free: 0.7305 MB / 266.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.362e-06/1.362e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.042e-05, allocations: 4.359 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01099/0.01101, allocations: 15.76 MB / 341 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.01809, allocations: 4.056 MB / 345 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.01937, allocations: 111.6 kB / 345.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0024/0.02177, allocations: 2.323 MB / 347.5 MB, free: 1.352 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003187/0.02496, allocations: 2.683 MB / 350.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.02543, allocations: 339.3 kB / 350.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004835/0.03026, allocations: 6.481 MB / 357 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.03265, allocations: 3.321 MB / 360.3 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.0351, allocations: 3.114 MB / 363.4 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.03745, allocations: 2.782 MB / 366.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.03782, allocations: 392 kB / 366.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009556/0.03877, allocations: 0.831 MB / 367.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.04025, allocations: 2.913 MB / 370.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.04136, allocations: 1.661 MB / 372 MB, free: 8.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004422/0.04578, allocations: 6.57 MB / 378.6 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.04579, allocations: 3.938 kB / 378.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.04579, allocations: 0 / 378.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.186e-05/0.04587, allocations: 0 / 378.6 MB, free: 2.125 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.005178/0.05105, allocations: 6.58 MB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.05108, allocations: 12.03 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/0.0574, allocations: 2.525 MB / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/0.06012, allocations: 2.518 MB / 390.2 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.06027, allocations: 332.2 kB / 390.5 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/0.06078, allocations: 416 kB / 390.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008253/0.06904, allocations: 8.015 MB / 398.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.909e-05/0.06911, allocations: 35.62 kB / 399 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.0695, allocations: 203.7 kB / 399.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003755/0.07325, allocations: 4.157 MB / 403.3 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008957/0.08221, allocations: 4.715 MB / 408 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2051/0.2873, allocations: 44.56 MB / 452.6 MB, free: 80.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00712/0.2944, allocations: 3.266 MB / 455.9 MB, free: 80.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.2953, allocations: 0.5534 MB / 456.4 MB, free: 80.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009581/0.3049, allocations: 6.455 MB / 462.9 MB, free: 79.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3049, allocations: 58.97 kB / 462.9 MB, free: 79.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 6.011e-06/0.3049, allocations: 0 / 462.9 MB, free: 79.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.00679/0.3117, allocations: 3.438 MB / 466.4 MB, free: 79.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3118, allocations: 105.2 kB / 466.5 MB, free: 79.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.3146, allocations: 3.817 MB / 470.3 MB, free: 78.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.3148, allocations: 64.72 kB / 470.3 MB, free: 78.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.3163, allocations: 5.106 MB / 475.5 MB, free: 74.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.3168, allocations: 1.23 MB / 476.7 MB, free: 73.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001144/0.318, allocations: 1.754 MB / 478.4 MB, free: 72.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.078e-05/0.318, allocations: 304 kB / 478.7 MB, free: 71.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.319, allocations: 1.024 MB / 479.8 MB, free: 71.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.3211, allocations: 6.198 MB / 486 MB, free: 62.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/0.326, allocations: 8.287 MB / 494.2 MB, free: 52.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.059e-05/0.3261, allocations: 52 kB / 494.3 MB, free: 52.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.005908/0.332, allocations: 6.016 MB / 0.4886 GB, free: 46.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.332, allocations: 88 kB / 0.4887 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.3321, allocations: 188 kB / 0.4888 GB, free: 46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000117/0.3323, allocations: 256 kB / 0.4891 GB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.3353, allocations: 1.996 MB / 0.491 GB, free: 43.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001757/0.3355, allocations: 375.1 kB / 0.4914 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.3386, allocations: 1.207 MB / 0.4926 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.339, allocations: 492 kB / 0.493 GB, free: 41.7 MB / 410.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.001726/0.3407, allocations: 0.8317 MB / 0.4939 GB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.3411, allocations: 291.7 kB / 0.4941 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.3414, allocations: 0.5066 MB / 0.4946 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.367e-05/0.3415, allocations: 59.98 kB / 0.4947 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.3415, allocations: 7.938 kB / 0.4947 GB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3415, allocations: 7.969 kB / 0.4947 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.3476, allocations: 5.533 MB / 0.5001 GB, free: 34.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.3476, allocations: 12.97 kB / 0.5001 GB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.3483, allocations: 349.5 kB / 0.5005 GB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.3484, allocations: 24 kB / 0.5005 GB, free: 33.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.918e-05/0.3484, allocations: 63.98 kB / 0.5005 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.3485, allocations: 31.2 kB / 0.5006 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.3485, allocations: 23.88 kB / 0.5006 GB, free: 33.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3498, allocations: 1.843 MB / 0.5024 GB, free: 31.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.3501, allocations: 456.2 kB / 0.5028 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.3504, allocations: 52 kB / 0.5029 GB, free: 31.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000596/0.3509, allocations: 51.98 kB / 0.5029 GB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.3511, allocations: 184.7 kB / 0.5031 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.566e-05/0.3512, allocations: 72 kB / 0.5032 GB, free: 30.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009399/0.3521, allocations: 1.488 MB / 0.5046 GB, free: 29.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3521, allocations: 0 / 0.5046 GB, free: 29.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003904/0.356, allocations: 2.044 MB / 0.5066 GB, free: 27.3 MB / 410.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.0003207/0.3564, allocations: 183.8 kB / 0.5068 GB, free: 27.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/0.3596, allocations: 3.553 MB / 0.5103 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002133/0.3598, allocations: 117.1 kB / 0.5104 GB, free: 23.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.3605, allocations: 0.6858 MB / 0.511 GB, free: 22.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.3616, allocations: 432 kB / 0.5115 GB, free: 22.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/0.377, allocations: 13.31 MB / 0.5245 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/0.379, allocations: 2.14 MB / 0.5265 GB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001973/0.381, allocations: 0.7691 MB / 0.5273 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008933/0.3818, allocations: 0.7063 MB / 0.528 GB, free: 5.094 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3819, allocations: 4 kB / 0.528 GB, free: 5.09 MB / 410.7 MB Notification: Performance of Templates: time 0.06638/0.4482, allocations: 32.86 MB / 0.5601 GB, free: 4.656 MB / 442.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 -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.209070906043053]