Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",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.001577/0.001577, allocations: 114.4 kB / 17.78 MB, free: 5.242 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.001852/0.001852, allocations: 183 kB / 18.71 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.17 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 64.03 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3607, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01149/0.3722, allocations: 11.43 MB / 0.5296 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007425/0.3797, allocations: 2.814 MB / 0.5323 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.3823, allocations: 54.19 kB / 0.5324 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002968/0.3853, allocations: 1.318 MB / 0.5337 GB, free: 8.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.3893, allocations: 1.283 MB / 0.5349 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.3898, allocations: 82.12 kB / 0.535 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004166/0.394, allocations: 2.799 MB / 0.5377 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003152/0.3971, allocations: 1.773 MB / 0.5394 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.3995, allocations: 1.062 MB / 0.5405 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.402, allocations: 1.485 MB / 0.5419 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008545/0.4029, allocations: 207 kB / 0.5421 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.4046, allocations: 0.4907 MB / 0.5426 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001948/0.4066, allocations: 1.456 MB / 0.544 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.4095, allocations: 1.735 MB / 0.5457 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007762/0.4173, allocations: 5.549 MB / 0.5511 GB, free: 10.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4173, allocations: 0 / 0.5511 GB, free: 10.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4173, allocations: 4 kB / 0.5512 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.4175, allocations: 0 / 0.5512 GB, free: 10.5 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.005568/0.4231, allocations: 3.671 MB / 0.5547 GB, free: 6.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4231, allocations: 8.031 kB / 0.5547 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007841/0.4239, allocations: 0.6836 MB / 0.5554 GB, free: 6.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009389/0.4333, allocations: 2.975 MB / 0.5583 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.4366, allocations: 1.561 MB / 0.5598 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4368, allocations: 180.6 kB / 0.56 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/0.4372, allocations: 223.8 kB / 0.5602 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.4505, allocations: 9.694 MB / 0.5697 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/0.4506, allocations: 23.75 kB / 0.5697 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/0.4509, allocations: 111.8 kB / 0.5698 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003488/0.4544, allocations: 2.436 MB / 0.5722 GB, free: 4.355 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.016/0.4704, allocations: 8.816 MB / 0.5808 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04451/0.5149, allocations: 30.53 MB / 0.6106 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005531/0.5205, allocations: 3.266 MB / 0.6138 GB, free: 8.684 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.5219, allocations: 0.9219 MB / 0.6147 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-05/0.522, allocations: 16.98 kB / 0.6147 GB, free: 7.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.522, allocations: 39.56 kB / 0.6148 GB, free: 7.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.928e-06/0.5221, allocations: 4 kB / 0.6148 GB, free: 7.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.00771/0.5298, allocations: 3.374 MB / 0.6181 GB, free: 4.305 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.5299, allocations: 68.34 kB / 0.6181 GB, free: 4.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00672/0.5366, allocations: 3.119 MB / 0.6212 GB, free: 1.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/0.5369, allocations: 41.7 kB / 0.6212 GB, free: 1.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.5392, allocations: 2.681 MB / 0.6238 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008907/0.5401, allocations: 0.5592 MB / 0.6244 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/0.5421, allocations: 0.9797 MB / 0.6253 GB, free: 12.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5422, allocations: 305.1 kB / 0.6256 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002372/0.5446, allocations: 1.528 MB / 0.6271 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.5488, allocations: 4.451 MB / 0.6315 GB, free: 5.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006867/0.5557, allocations: 6.535 MB / 0.6379 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/0.5558, allocations: 32 kB / 0.6379 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009146/0.5649, allocations: 5.832 MB / 0.6436 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.5651, allocations: 48 kB / 0.6436 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.5652, allocations: 104 kB / 0.6437 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.5654, allocations: 136 kB / 0.6439 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/0.5685, allocations: 1.06 MB / 0.6449 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001914/0.5687, allocations: 199.2 kB / 0.6451 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/0.572, allocations: 0.6881 MB / 0.6457 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004905/0.5725, allocations: 296 kB / 0.646 GB, free: 4.637 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * 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.003148/0.5757, allocations: 1.938 MB / 0.6479 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.5762, allocations: 256.6 kB / 0.6482 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006795/0.5769, allocations: 327.8 kB / 0.6485 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/0.5769, allocations: 23.92 kB / 0.6485 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.5769, allocations: 4 kB / 0.6485 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5769, allocations: 3.984 kB / 0.6485 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.5883, allocations: 6.869 MB / 0.6552 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.5884, allocations: 4.875 kB / 0.6552 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.5891, allocations: 179.7 kB / 0.6554 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.5892, allocations: 16 kB / 0.6554 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.5892, allocations: 35.84 kB / 0.6554 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.922e-05/0.5893, allocations: 19.92 kB / 0.6555 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.5893, allocations: 11.94 kB / 0.6555 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.5922, allocations: 2.244 MB / 0.6577 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/0.593, allocations: 357.2 kB / 0.658 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.5932, allocations: 35.94 kB / 0.658 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.5939, allocations: 55.94 kB / 0.6581 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.5941, allocations: 80.39 kB / 0.6582 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/0.5942, allocations: 47.98 kB / 0.6582 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00312/0.5973, allocations: 1.987 MB / 0.6602 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5973, allocations: 3.938 kB / 0.6602 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003999/0.6013, allocations: 1.004 MB / 0.6611 GB, free: 4.848 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * 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.003405/0.6048, allocations: 2.909 MB / 0.664 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005968/0.6108, allocations: 3.578 MB / 0.6675 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.6108, allocations: 384 / 0.6675 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.612, allocations: 0.9212 MB / 0.6684 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/0.6146, allocations: 334.1 kB / 0.6687 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05119/0.6658, allocations: 33.38 MB / 0.7013 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004283/0.6702, allocations: 3.012 MB / 0.7042 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003697/0.6739, allocations: 1.718 MB / 0.7059 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002276/0.6762, allocations: 1.538 MB / 0.7074 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6762, allocations: 0 / 0.7074 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.322/0.9982, allocations: 45.66 MB / 0.752 GB, free: 176.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.84, allocations: 2.812 kB / 0.752 GB, free: 176.7 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches