Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008247/0.0008247, allocations: 76.48 kB / 19.92 MB, free: 4.633 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.00085/0.00085, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8644/0.8644, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1329/0.1329, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 4 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.726e-05, allocations: 5.516 kB / 406.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01124/0.01127, allocations: 14.76 MB / 421.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.01808, allocations: 3.747 MB / 425.4 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.02024, allocations: 115.6 kB / 425.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003221/0.02347, allocations: 2.233 MB / 427.7 MB, free: 8.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.02843, allocations: 2.672 MB / 430.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.02914, allocations: 343.3 kB / 430.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1753/0.2044, allocations: 6.476 MB / 437.2 MB, free: 16.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003748/0.2082, allocations: 3.114 MB / 440.3 MB, free: 16.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.2127, allocations: 3.124 MB / 443.4 MB, free: 16.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004695/0.2174, allocations: 2.94 MB / 446.4 MB, free: 16.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.2188, allocations: 391.7 kB / 446.8 MB, free: 16.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.2209, allocations: 0.8317 MB / 447.6 MB, free: 16.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.2233, allocations: 2.96 MB / 450.6 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.2256, allocations: 1.69 MB / 452.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008831/0.2344, allocations: 10.5 MB / 462.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2344, allocations: 3.375 kB / 462.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2344, allocations: 0 / 462.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003779/0.2348, allocations: 0 / 462.8 MB, free: 10.27 MB / 362.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.01162/0.2464, allocations: 7.074 MB / 469.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/0.2465, allocations: 9.469 kB / 469.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001704/0.2482, allocations: 1.277 MB / 471.1 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009604/0.2578, allocations: 5.965 MB / 477.1 MB, free: 332 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/0.2633, allocations: 3.275 MB / 480.4 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.2635, allocations: 319.6 kB / 480.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008567/0.2643, allocations: 418.2 kB / 481.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.29, allocations: 18.93 MB / 0.4883 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.893e-05/0.2901, allocations: 40.56 kB / 0.4883 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006687/0.2908, allocations: 204.2 kB / 0.4885 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004719/0.2955, allocations: 4.748 MB / 0.4932 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02718/0.3227, allocations: 17.53 MB / 0.5103 GB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07362/0.3963, allocations: 58.56 MB / 0.5675 GB, free: 8.008 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.4072, allocations: 6.588 MB / 0.5739 GB, free: 1.418 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.4099, allocations: 2.387 MB / 0.5762 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/0.4252, allocations: 9.76 MB / 0.5858 GB, free: 5.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4253, allocations: 60.56 kB / 0.5858 GB, free: 5.234 MB / 490.7 MB Notification: Performance of pre-optimization done (n=321): time 7.905e-06/0.4253, allocations: 0 / 0.5858 GB, free: 5.234 MB / 490.7 MB Notification: Performance of matching and sorting (n=321): time 0.01194/0.4372, allocations: 7.924 MB / 0.5935 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.4373, allocations: 103.1 kB / 0.5936 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008226/0.4455, allocations: 6.022 MB / 0.5995 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005196/0.446, allocations: 67.81 kB / 0.5996 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003121/0.4491, allocations: 5.238 MB / 0.6047 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/0.4506, allocations: 1.234 MB / 0.6059 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002737/0.4534, allocations: 1.886 MB / 0.6078 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.4534, allocations: 304.9 kB / 0.608 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003569/0.457, allocations: 3.212 MB / 0.6112 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1851/0.6421, allocations: 8.649 MB / 0.6196 GB, free: 162.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/0.6528, allocations: 12.91 MB / 0.6322 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/0.653, allocations: 54.06 kB / 0.6323 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0174/0.6704, allocations: 11.68 MB / 0.6437 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.6705, allocations: 87.19 kB / 0.6438 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002756/0.6708, allocations: 190.9 kB / 0.644 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.671, allocations: 256.4 kB / 0.6442 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/0.6764, allocations: 2.071 MB / 0.6462 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002602/0.6767, allocations: 378.4 kB / 0.6466 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005463/0.6821, allocations: 1.358 MB / 0.6479 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/0.6834, allocations: 0.554 MB / 0.6485 GB, free: 148.4 MB / 0.5105 GB 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.006205/0.6896, allocations: 3.707 MB / 0.6521 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006771/0.6903, allocations: 0.4991 MB / 0.6526 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.6913, allocations: 0.6472 MB / 0.6532 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/0.6914, allocations: 55.86 kB / 0.6532 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.6914, allocations: 3.938 kB / 0.6532 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.6915, allocations: 10.92 kB / 0.6533 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.7085, allocations: 12.34 MB / 0.6653 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.7085, allocations: 12 kB / 0.6653 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009294/0.7095, allocations: 423.4 kB / 0.6657 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.7095, allocations: 20 kB / 0.6657 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.7096, allocations: 61.92 kB / 0.6658 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.7096, allocations: 36.14 kB / 0.6658 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.7096, allocations: 15.94 kB / 0.6658 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.7132, allocations: 4.655 MB / 0.6704 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/0.7145, allocations: 0.5101 MB / 0.6709 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/0.7149, allocations: 50.19 kB / 0.6709 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009145/0.7158, allocations: 132.1 kB / 0.6711 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.716, allocations: 182.7 kB / 0.6712 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.7162, allocations: 97.72 kB / 0.6713 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004065/0.7202, allocations: 3.494 MB / 0.6747 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7202, allocations: 0 / 0.6747 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005861/0.7261, allocations: 2.006 MB / 0.6767 GB, free: 129.3 MB / 0.5105 GB 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.004349/0.7304, allocations: 5.32 MB / 0.6819 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007929/0.7384, allocations: 7.008 MB / 0.6887 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.7384, allocations: 0 / 0.6887 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.74, allocations: 1.859 MB / 0.6906 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.7431, allocations: 0.6204 MB / 0.6912 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07286/0.816, allocations: 68.13 MB / 0.7577 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005896/0.8219, allocations: 4.947 MB / 0.7625 GB, free: 34.78 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004793/0.8267, allocations: 3.543 MB / 0.766 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004101/0.8308, allocations: 3.32 MB / 0.7692 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.365e-06/0.8308, allocations: 3.938 kB / 0.7692 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2809/1.112, allocations: 89.94 MB / 0.8571 GB, free: 174.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.23, allocations: 1.312 kB / 0.8571 GB, free: 174.1 MB / 0.5417 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.503141669556499]