Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001384, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 67.67 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1488, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01401/0.1629, allocations: 11.38 MB / 491.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007121/0.1701, allocations: 2.843 MB / 494.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.1721, allocations: 51.94 kB / 494.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.1754, allocations: 1.331 MB / 495.7 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.1795, allocations: 1.233 MB / 497 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.1801, allocations: 75.91 kB / 497 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00407/0.1841, allocations: 2.757 MB / 499.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.1871, allocations: 1.772 MB / 0.4898 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.1891, allocations: 1.058 MB / 0.4908 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.1915, allocations: 1.483 MB / 0.4923 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008365/0.1923, allocations: 207.9 kB / 0.4925 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.194, allocations: 0.4915 MB / 0.493 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001944/0.196, allocations: 1.414 MB / 0.4944 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.1989, allocations: 1.719 MB / 0.496 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006987/0.2059, allocations: 5.205 MB / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2059, allocations: 0 / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2059, allocations: 0 / 0.5011 GB, free: 4.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002495/0.2062, allocations: 4 kB / 0.5011 GB, free: 4.031 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.009776/0.216, allocations: 3.637 MB / 0.5047 GB, free: 336 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2161, allocations: 12.02 kB / 0.5047 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3168/0.5329, allocations: 0.6771 MB / 0.5053 GB, free: 39.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/0.545, allocations: 2.973 MB / 0.5082 GB, free: 39.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.5488, allocations: 1.55 MB / 0.5098 GB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.549, allocations: 172.9 kB / 0.5099 GB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009394/0.55, allocations: 226.4 kB / 0.5101 GB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.5688, allocations: 9.705 MB / 0.5196 GB, free: 34.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.476e-05/0.569, allocations: 24.69 kB / 0.5196 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003392/0.5693, allocations: 106 kB / 0.5197 GB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004201/0.5735, allocations: 2.438 MB / 0.5221 GB, free: 33.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.5888, allocations: 8.813 MB / 0.5307 GB, free: 26.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03468/0.6235, allocations: 30.66 MB / 0.5607 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/0.6288, allocations: 3.276 MB / 0.5639 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.63, allocations: 0.9225 MB / 0.5648 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.6301, allocations: 20.98 kB / 0.5648 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.6301, allocations: 47.48 kB / 0.5648 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 4.198e-06/0.6301, allocations: 4 kB / 0.5648 GB, free: 6.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.00725/0.6374, allocations: 3.374 MB / 0.5681 GB, free: 3.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6375, allocations: 60.41 kB / 0.5682 GB, free: 3.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/0.6422, allocations: 3.115 MB / 0.5712 GB, free: 268 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.6424, allocations: 37.7 kB / 0.5713 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.6447, allocations: 2.681 MB / 0.5739 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/0.6455, allocations: 0.5592 MB / 0.5744 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.647, allocations: 0.972 MB / 0.5754 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.6472, allocations: 309.1 kB / 0.5757 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002546/0.6497, allocations: 1.532 MB / 0.5772 GB, free: 10.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005378/0.6551, allocations: 4.451 MB / 0.5815 GB, free: 4.195 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008442/0.6636, allocations: 6.535 MB / 0.5879 GB, free: 12.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.6637, allocations: 32 kB / 0.5879 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01109/0.6748, allocations: 5.829 MB / 0.5936 GB, free: 6.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.675, allocations: 48 kB / 0.5937 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002598/0.6753, allocations: 107.9 kB / 0.5938 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/0.6756, allocations: 136 kB / 0.5939 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003777/0.6794, allocations: 1.057 MB / 0.5949 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/0.6796, allocations: 203.2 kB / 0.5951 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/0.6843, allocations: 0.6806 MB / 0.5958 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009831/0.6853, allocations: 295.9 kB / 0.5961 GB, free: 3.836 MB / 430.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.005575/0.6909, allocations: 1.946 MB / 0.598 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/0.6918, allocations: 256.5 kB / 0.5982 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.6931, allocations: 327.8 kB / 0.5985 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.244e-05/0.6932, allocations: 20.81 kB / 0.5986 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6932, allocations: 4 kB / 0.5986 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/0.6932, allocations: 3.984 kB / 0.5986 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02036/0.7136, allocations: 6.888 MB / 0.6053 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.7137, allocations: 8.062 kB / 0.6053 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.7145, allocations: 183.7 kB / 0.6055 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.548e-05/0.7145, allocations: 12 kB / 0.6055 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.7146, allocations: 31.98 kB / 0.6055 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/0.7146, allocations: 11.98 kB / 0.6055 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/0.7147, allocations: 19.81 kB / 0.6055 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00401/0.7187, allocations: 2.248 MB / 0.6077 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.7201, allocations: 357.2 kB / 0.6081 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009063/0.7211, allocations: 24 kB / 0.6081 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7223, allocations: 43.95 kB / 0.6081 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.7225, allocations: 80.39 kB / 0.6082 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.7226, allocations: 55.97 kB / 0.6083 GB, free: 7.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004293/0.7269, allocations: 1.979 MB / 0.6102 GB, free: 5.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7269, allocations: 0 / 0.6102 GB, free: 5.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004558/0.7315, allocations: 0.9895 MB / 0.6112 GB, free: 4.066 MB / 446.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.003754/0.7353, allocations: 2.904 MB / 0.614 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007156/0.7424, allocations: 4.653 MB / 0.6186 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.7425, allocations: 0 / 0.6186 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7436, allocations: 0.9197 MB / 0.6195 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.7456, allocations: 322.3 kB / 0.6198 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05898/0.8046, allocations: 36.39 MB / 0.6553 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005453/0.8101, allocations: 3.012 MB / 0.6582 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004572/0.8147, allocations: 1.723 MB / 0.6599 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002941/0.8176, allocations: 1.538 MB / 0.6614 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.363e-06/0.8177, allocations: 0 / 0.6614 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3379/1.156, allocations: 48.79 MB / 0.7091 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.843/9.998, allocations: 18.06 kB / 0.7091 GB, free: 179.7 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.csv","/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_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches