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.0008848/0.0008849, allocations: 91.05 kB / 17.35 MB, free: 6.375 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.0009583/0.0009582, allocations: 178.1 kB / 18.25 MB, free: 5.52 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.237/1.237, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004917, allocations: 12.28 kB / 410.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 61.92 MB / 472.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02525/0.1397, allocations: 27.92 MB / 0.4886 GB, free: 1.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1509, allocations: 5.601 MB / 0.494 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.1541, allocations: 115.8 kB / 0.4941 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009387/0.1551, allocations: 418.2 kB / 0.4945 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1574, allocations: 1.187 MB / 0.4957 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1577, allocations: 71.88 kB / 0.4958 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003635/0.1613, allocations: 4.129 MB / 0.4998 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002559/0.1639, allocations: 2.124 MB / 0.5019 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00127/0.1652, allocations: 0.8712 MB / 0.5027 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.1668, allocations: 1.491 MB / 0.5042 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.167, allocations: 120 kB / 0.5043 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.1678, allocations: 415.3 kB / 0.5047 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1992/0.3671, allocations: 1.384 MB / 0.506 GB, free: 12.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.3687, allocations: 1.673 MB / 0.5077 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005339/0.374, allocations: 5.093 MB / 0.5126 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.374, allocations: 1.031 kB / 0.5126 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.374, allocations: 0 / 0.5126 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001325/0.3742, allocations: 0 / 0.5126 GB, free: 11.8 MB / 382.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.004556/0.3787, allocations: 2.998 MB / 0.5156 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3788, allocations: 10.47 kB / 0.5156 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007539/0.3796, allocations: 0.6818 MB / 0.5162 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009594/0.3892, allocations: 3.058 MB / 0.5192 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.3915, allocations: 1.555 MB / 0.5208 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.3916, allocations: 177.2 kB / 0.5209 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/0.3921, allocations: 219.6 kB / 0.5211 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4035, allocations: 9.715 MB / 0.5306 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.726e-05/0.4035, allocations: 20.81 kB / 0.5306 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003332/0.4039, allocations: 108.6 kB / 0.5307 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003282/0.4072, allocations: 2.438 MB / 0.5331 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/0.4188, allocations: 8.807 MB / 0.5417 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03203/0.4508, allocations: 30.71 MB / 0.5717 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004786/0.4557, allocations: 3.272 MB / 0.5749 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.4568, allocations: 0.9141 MB / 0.5758 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.4569, allocations: 18.97 kB / 0.5758 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.4569, allocations: 47.56 kB / 0.5759 GB, free: 14.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.206e-06/0.4569, allocations: 4 kB / 0.5759 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.006941/0.4639, allocations: 3.364 MB / 0.5792 GB, free: 11.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.4639, allocations: 71.28 kB / 0.5792 GB, free: 11.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004187/0.4681, allocations: 3.131 MB / 0.5823 GB, free: 8.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/0.4682, allocations: 41.7 kB / 0.5823 GB, free: 8.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001971/0.4702, allocations: 2.671 MB / 0.5849 GB, free: 5.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/0.4708, allocations: 0.5699 MB / 0.5855 GB, free: 5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005644/0.4714, allocations: 432.5 kB / 0.5859 GB, free: 4.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4715, allocations: 305.1 kB / 0.5862 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.4736, allocations: 1.524 MB / 0.5877 GB, free: 2.738 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/0.4778, allocations: 4.451 MB / 0.592 GB, free: 12.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006606/0.4844, allocations: 6.534 MB / 0.5984 GB, free: 5.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.757e-05/0.4845, allocations: 36 kB / 0.5984 GB, free: 5.285 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008121/0.4926, allocations: 5.827 MB / 0.6041 GB, free: 68 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.4927, allocations: 48 kB / 0.6042 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.4928, allocations: 104 kB / 0.6043 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.4929, allocations: 136 kB / 0.6044 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.4956, allocations: 1.057 MB / 0.6054 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000141/0.4958, allocations: 204.8 kB / 0.6056 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.4986, allocations: 0.6835 MB / 0.6063 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/0.4989, allocations: 296 kB / 0.6066 GB, free: 13.69 MB / 462.1 MB 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.002975/0.5019, allocations: 1.949 MB / 0.6085 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.5022, allocations: 252.6 kB / 0.6087 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006213/0.5029, allocations: 331.8 kB / 0.609 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.5029, allocations: 23.66 kB / 0.6091 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.5029, allocations: 3.938 kB / 0.6091 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.5029, allocations: 3.984 kB / 0.6091 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009623/0.5125, allocations: 6.885 MB / 0.6158 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5126, allocations: 8 kB / 0.6158 GB, free: 4.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006857/0.5133, allocations: 179.7 kB / 0.616 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.5133, allocations: 12 kB / 0.616 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.342e-05/0.5134, allocations: 28 kB / 0.616 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.5134, allocations: 15.88 kB / 0.616 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.5134, allocations: 8 kB / 0.616 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.5161, allocations: 2.254 MB / 0.6182 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/0.5167, allocations: 361.3 kB / 0.6186 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.517, allocations: 24 kB / 0.6186 GB, free: 1.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.5177, allocations: 51.56 kB / 0.6187 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.5179, allocations: 88.38 kB / 0.6187 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.518, allocations: 44 kB / 0.6188 GB, free: 1.059 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002756/0.5207, allocations: 1.979 MB / 0.6207 GB, free: 15.08 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5208, allocations: 3.938 kB / 0.6207 GB, free: 15.07 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003407/0.5242, allocations: 1.019 MB / 0.6217 GB, free: 14.05 MB / 478.1 MB 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.002956/0.5271, allocations: 2.903 MB / 0.6245 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00466/0.5318, allocations: 3.546 MB / 0.628 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5318, allocations: 0 / 0.628 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.5329, allocations: 0.9195 MB / 0.6289 GB, free: 6.598 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/0.5363, allocations: 322.2 kB / 0.6292 GB, free: 6.285 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05525/0.5916, allocations: 38.18 MB / 0.6665 GB, free: 10.41 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/0.5955, allocations: 3.016 MB / 0.6694 GB, free: 7.367 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003708/0.5992, allocations: 1.714 MB / 0.6711 GB, free: 5.645 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001987/0.6012, allocations: 1.55 MB / 0.6726 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of SimCode: time 7.31e-07/0.6012, allocations: 3.938 kB / 0.6726 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2646/0.8659, allocations: 47.62 MB / 0.7191 GB, free: 207 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/0.8661, allocations: 204.7 kB / 0.7193 GB, free: 206.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.684, allocations: 1.188 kB / 0.7193 GB, free: 206.8 MB / 0.545 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