Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_3_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.001665/0.001665, allocations: 113.4 kB / 16.41 MB, free: 6.496 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.001636/0.001637, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2461/0.2461, allocations: 43.52 MB / 314.1 MB, free: 476 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.002063/0.002063, allocations: 67.89 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01439/0.1443, allocations: 11.76 MB / 0.4989 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006854/0.1512, allocations: 2.851 MB / 0.5017 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1529, allocations: 59.88 kB / 0.5017 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.156, allocations: 1.335 MB / 0.5031 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003149/0.1592, allocations: 1.26 MB / 0.5043 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1595, allocations: 75.84 kB / 0.5044 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003718/0.1632, allocations: 2.862 MB / 0.5072 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.1657, allocations: 1.796 MB / 0.5089 GB, free: 6.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1675, allocations: 1.101 MB / 0.51 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.1699, allocations: 1.51 MB / 0.5115 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005859/0.1705, allocations: 212 kB / 0.5117 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.1718, allocations: 487.4 kB / 0.5121 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.1733, allocations: 1.468 MB / 0.5136 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00207/0.1754, allocations: 1.789 MB / 0.5153 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007069/0.1825, allocations: 5.681 MB / 0.5209 GB, free: 9.906 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1825, allocations: 0 / 0.5209 GB, free: 9.906 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1825, allocations: 0 / 0.5209 GB, free: 9.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001756/0.1827, allocations: 0 / 0.5209 GB, free: 9.906 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: 1520 * Number of variables: 1520 Notification: Performance of Generate backend data structure: time 0.007907/0.1906, allocations: 3.86 MB / 0.5246 GB, free: 5.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1907, allocations: 15.89 kB / 0.5246 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/0.1919, allocations: 0.7042 MB / 0.5253 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.2026, allocations: 3.005 MB / 0.5283 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.2062, allocations: 1.565 MB / 0.5298 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.2064, allocations: 180.8 kB / 0.53 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.2071, allocations: 231.8 kB / 0.5302 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2254/0.4325, allocations: 9.915 MB / 0.5399 GB, free: 34.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.896e-05/0.4326, allocations: 21.47 kB / 0.5399 GB, free: 34.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003594/0.433, allocations: 114.3 kB / 0.54 GB, free: 34.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004679/0.4377, allocations: 2.526 MB / 0.5425 GB, free: 34.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/0.4549, allocations: 8.919 MB / 0.5512 GB, free: 31.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.4893, allocations: 31.4 MB / 0.5818 GB, free: 3.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.4937, allocations: 3.294 MB / 0.585 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.4951, allocations: 0.9285 MB / 0.586 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.4952, allocations: 21.36 kB / 0.586 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.4952, allocations: 47.5 kB / 0.586 GB, free: 14.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.187e-06/0.4952, allocations: 0 / 0.586 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.007824/0.5031, allocations: 3.409 MB / 0.5894 GB, free: 11.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.5032, allocations: 94.17 kB / 0.5894 GB, free: 11.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/0.5083, allocations: 3.181 MB / 0.5925 GB, free: 7.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.5084, allocations: 42.55 kB / 0.5926 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.5108, allocations: 2.864 MB / 0.5954 GB, free: 4.988 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007004/0.5115, allocations: 0.6008 MB / 0.596 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.5128, allocations: 0.9887 MB / 0.5969 GB, free: 3.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5129, allocations: 305.1 kB / 0.5972 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/0.5153, allocations: 1.544 MB / 0.5987 GB, free: 1.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/0.5204, allocations: 4.524 MB / 0.6032 GB, free: 11.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008525/0.5289, allocations: 6.644 MB / 0.6096 GB, free: 3.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.5291, allocations: 33 kB / 0.6097 GB, free: 3.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=647) (initialization): time 0.01175/0.5408, allocations: 5.924 MB / 0.6155 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/0.5409, allocations: 54.66 kB / 0.6155 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.5411, allocations: 104 kB / 0.6156 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.5412, allocations: 140 kB / 0.6157 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.5447, allocations: 1.081 MB / 0.6168 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001797/0.5449, allocations: 210.8 kB / 0.617 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.5481, allocations: 0.7134 MB / 0.6177 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/0.5486, allocations: 300 kB / 0.618 GB, free: 10.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 27 (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 (599): * Single equations (assignments): 593 * 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.003059/0.5517, allocations: 1.989 MB / 0.6199 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/0.5521, allocations: 274.1 kB / 0.6202 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.5528, allocations: 340.3 kB / 0.6205 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/0.5528, allocations: 23.88 kB / 0.6205 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.5529, allocations: 2.438 kB / 0.6205 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5529, allocations: 3.984 kB / 0.6205 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.5641, allocations: 7.124 MB / 0.6275 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.5642, allocations: 8 kB / 0.6275 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.565, allocations: 183.7 kB / 0.6277 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.5651, allocations: 11.94 kB / 0.6277 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.921e-05/0.5651, allocations: 28 kB / 0.6277 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.62e-05/0.5652, allocations: 19.92 kB / 0.6277 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.5652, allocations: 8 kB / 0.6277 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.5683, allocations: 2.293 MB / 0.63 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.569, allocations: 374.8 kB / 0.6303 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.5693, allocations: 27.98 kB / 0.6304 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/0.57, allocations: 39.97 kB / 0.6304 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.5702, allocations: 92.38 kB / 0.6305 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5703, allocations: 55.97 kB / 0.6305 GB, free: 13.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003056/0.5734, allocations: 2.012 MB / 0.6325 GB, free: 11.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5734, allocations: 0 / 0.6325 GB, free: 11.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003796/0.5772, allocations: 1.044 MB / 0.6335 GB, free: 10.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (102): * Single equations (assignments): 96 * 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.003565/0.5808, allocations: 2.946 MB / 0.6364 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005868/0.5867, allocations: 3.622 MB / 0.6399 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.5867, allocations: 384 / 0.6399 GB, free: 3.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.5881, allocations: 0.929 MB / 0.6409 GB, free: 3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5899, allocations: 331.6 kB / 0.6412 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05079/0.6407, allocations: 34.2 MB / 0.6746 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003857/0.6446, allocations: 3.069 MB / 0.6776 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003754/0.6484, allocations: 1.742 MB / 0.6793 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/0.6508, allocations: 1.597 MB / 0.6808 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.6508, allocations: 0 / 0.6808 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09638/0.7472, allocations: 46.15 MB / 0.7259 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/16.07, allocations: 12 kB / 0.7259 GB, free: 7.375 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches