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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 103.8 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1885/0.1885, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 69.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0877/0.08915, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01668/0.1059, allocations: 17.05 MB / 0.5041 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007427/0.1133, allocations: 3.902 MB / 0.5079 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.1153, allocations: 99.75 kB / 0.508 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00377/0.1191, allocations: 2.172 MB / 0.5101 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005209/0.1243, allocations: 2.506 MB / 0.5125 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1251, allocations: 307.4 kB / 0.5128 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007138/0.1323, allocations: 6.357 MB / 0.519 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004146/0.1364, allocations: 3.322 MB / 0.5223 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003023/0.1395, allocations: 2.125 MB / 0.5244 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.1427, allocations: 2.787 MB / 0.5271 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008114/0.1435, allocations: 395.9 kB / 0.5275 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.1452, allocations: 0.7998 MB / 0.5282 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1939/0.339, allocations: 2.791 MB / 0.531 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.3426, allocations: 3.349 MB / 0.5342 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3528, allocations: 10.71 MB / 0.5447 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3528, allocations: 1.906 kB / 0.5447 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3528, allocations: 0 / 0.5447 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003106/0.3531, allocations: 0 / 0.5447 GB, free: 6.641 MB / 414.1 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.01364/0.3668, allocations: 7.037 MB / 0.5516 GB, free: 3.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3668, allocations: 16.02 kB / 0.5516 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002384/0.3692, allocations: 1.274 MB / 0.5528 GB, free: 3.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.3869, allocations: 5.864 MB / 0.5586 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.3934, allocations: 3.295 MB / 0.5618 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3937, allocations: 326 kB / 0.5621 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/0.3948, allocations: 418.9 kB / 0.5625 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.4212, allocations: 18.89 MB / 0.5809 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-05/0.4213, allocations: 40 kB / 0.581 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007087/0.422, allocations: 202 kB / 0.5812 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006793/0.4288, allocations: 4.744 MB / 0.5858 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03049/0.4593, allocations: 17.53 MB / 0.6029 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08629/0.5457, allocations: 60.85 MB / 0.6623 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/0.5603, allocations: 8.422 MB / 0.6706 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.5639, allocations: 2.582 MB / 0.6731 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/0.583, allocations: 11.87 MB / 0.6847 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5831, allocations: 52.56 kB / 0.6847 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 5.681e-06/0.5831, allocations: 0 / 0.6847 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.01706/0.6002, allocations: 7.519 MB / 0.6921 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.6003, allocations: 104.5 kB / 0.6922 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008281/0.6086, allocations: 5.668 MB / 0.6977 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002963/0.6089, allocations: 65.61 kB / 0.6978 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003319/0.6122, allocations: 5.073 MB / 0.7027 GB, free: 9.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.6135, allocations: 1.198 MB / 0.7039 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/0.616, allocations: 1.909 MB / 0.7057 GB, free: 5.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.6161, allocations: 313 kB / 0.706 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004493/0.6206, allocations: 3.204 MB / 0.7092 GB, free: 2.441 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/0.6286, allocations: 8.655 MB / 0.7176 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.642, allocations: 12.9 MB / 0.7302 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.6421, allocations: 56 kB / 0.7303 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01832/0.6604, allocations: 11.65 MB / 0.7417 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6606, allocations: 88 kB / 0.7417 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/0.6608, allocations: 192 kB / 0.7419 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.661, allocations: 252 kB / 0.7422 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/0.6672, allocations: 2.074 MB / 0.7442 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002747/0.6675, allocations: 375.8 kB / 0.7445 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005948/0.6735, allocations: 1.324 MB / 0.7458 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/0.6745, allocations: 0.5492 MB / 0.7464 GB, free: 7.73 MB / 0.5919 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.006016/0.6806, allocations: 3.715 MB / 0.75 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/0.6813, allocations: 481.5 kB / 0.7505 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.6826, allocations: 0.645 MB / 0.7511 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.69e-05/0.6827, allocations: 54.88 kB / 0.7511 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6827, allocations: 3.938 kB / 0.7512 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.6827, allocations: 19.89 kB / 0.7512 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.223/0.9058, allocations: 12.62 MB / 0.7635 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/0.9058, allocations: 13.84 kB / 0.7635 GB, free: 204 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/0.9075, allocations: 425.8 kB / 0.7639 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.408e-05/0.9076, allocations: 26.97 kB / 0.7639 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/0.9077, allocations: 60.34 kB / 0.764 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-05/0.9078, allocations: 31.27 kB / 0.764 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-05/0.9078, allocations: 26.5 kB / 0.7641 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004962/0.9127, allocations: 4.64 MB / 0.7686 GB, free: 202 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.9138, allocations: 0.5568 MB / 0.7691 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006218/0.9144, allocations: 61.84 kB / 0.7692 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.9159, allocations: 128.6 kB / 0.7693 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002743/0.9162, allocations: 179.4 kB / 0.7695 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.9164, allocations: 96.75 kB / 0.7696 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004653/0.921, allocations: 3.495 MB / 0.773 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.921, allocations: 0 / 0.773 GB, free: 200.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006613/0.9277, allocations: 1.986 MB / 0.7749 GB, free: 199.9 MB / 0.5919 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.00503/0.9327, allocations: 5.315 MB / 0.7801 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009198/0.9419, allocations: 7.345 MB / 0.7873 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.942, allocations: 1.062 kB / 0.7873 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.9441, allocations: 2.001 MB / 0.7892 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/0.9472, allocations: 0.6346 MB / 0.7899 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0731/1.02, allocations: 68.07 MB / 0.8563 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006103/1.026, allocations: 5.418 MB / 0.8616 GB, free: 113.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006348/1.033, allocations: 3.543 MB / 0.8651 GB, free: 109.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004242/1.037, allocations: 3.334 MB / 0.8683 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.037, allocations: 0 / 0.8683 GB, free: 106.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/1.154, allocations: 92.63 MB / 0.9588 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.57/23.72, allocations: 0 / 0.9588 GB, free: 13.81 MB / 0.5919 GB (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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches