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.001456/0.001456, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001569/0.001569, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.351/1.351, allocations: 222.9 MB / 241.9 MB, free: 13.71 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.2173/0.2173, allocations: 44.18 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 57.06 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1358, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.03002/0.1658, allocations: 28.84 MB / 497.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.1809, allocations: 5.605 MB / 0.4915 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006387/0.1873, allocations: 111.8 kB / 0.4916 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.1911, allocations: 1.25 MB / 0.4928 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.1953, allocations: 1.156 MB / 0.4939 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.1959, allocations: 71.91 kB / 0.494 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00449/0.2004, allocations: 2.829 MB / 0.4968 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003484/0.2039, allocations: 1.854 MB / 0.4986 GB, free: 4.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.2063, allocations: 1.082 MB / 0.4996 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.209, allocations: 1.627 MB / 0.5012 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008475/0.2099, allocations: 208 kB / 0.5014 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.2117, allocations: 0.4993 MB / 0.5019 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2623/0.474, allocations: 1.462 MB / 0.5033 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005552/0.4797, allocations: 1.751 MB / 0.505 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009453/0.4891, allocations: 5.295 MB / 0.5102 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4892, allocations: 1.281 kB / 0.5102 GB, free: 12.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4892, allocations: 0 / 0.5102 GB, free: 12.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002952/0.4895, allocations: 0 / 0.5102 GB, free: 12.39 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.01238/0.5019, allocations: 3.669 MB / 0.5138 GB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.5019, allocations: 9.219 kB / 0.5138 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002287/0.5042, allocations: 0.6814 MB / 0.5145 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.5152, allocations: 2.978 MB / 0.5174 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/0.5192, allocations: 1.548 MB / 0.5189 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.5194, allocations: 178.8 kB / 0.5191 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008975/0.5203, allocations: 222.7 kB / 0.5193 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.5372, allocations: 9.712 MB / 0.5288 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/0.5373, allocations: 19.28 kB / 0.5288 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.5377, allocations: 109.3 kB / 0.5289 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003383/0.5411, allocations: 2.435 MB / 0.5313 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.5565, allocations: 8.819 MB / 0.5399 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/0.6055, allocations: 30.67 MB / 0.5698 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.611, allocations: 3.272 MB / 0.573 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.6125, allocations: 0.9184 MB / 0.5739 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.773e-05/0.6126, allocations: 14.16 kB / 0.5739 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.6126, allocations: 46 kB / 0.574 GB, free: 14.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 5.22e-06/0.6127, allocations: 0 / 0.574 GB, free: 14.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.00772/0.6204, allocations: 3.377 MB / 0.5773 GB, free: 11.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.6205, allocations: 64.41 kB / 0.5773 GB, free: 11.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006461/0.6269, allocations: 3.13 MB / 0.5804 GB, free: 7.871 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.6271, allocations: 41.7 kB / 0.5804 GB, free: 7.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/0.6293, allocations: 2.679 MB / 0.583 GB, free: 5.145 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007353/0.6301, allocations: 0.5643 MB / 0.5836 GB, free: 4.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/0.632, allocations: 0.9687 MB / 0.5845 GB, free: 3.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6321, allocations: 301.1 kB / 0.5848 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.6344, allocations: 1.532 MB / 0.5863 GB, free: 1.773 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/0.6383, allocations: 4.455 MB / 0.5907 GB, free: 11.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006786/0.6451, allocations: 6.537 MB / 0.5971 GB, free: 4.352 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.725e-05/0.6452, allocations: 32 kB / 0.5971 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008776/0.654, allocations: 5.827 MB / 0.6028 GB, free: 15.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.6541, allocations: 48 kB / 0.6028 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.6542, allocations: 111.4 kB / 0.6029 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.6543, allocations: 136 kB / 0.6031 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.6571, allocations: 1.053 MB / 0.6041 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/0.6573, allocations: 208.1 kB / 0.6043 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/0.6605, allocations: 0.6908 MB / 0.605 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.6609, allocations: 292.2 kB / 0.6052 GB, free: 12.71 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.003247/0.6642, allocations: 1.948 MB / 0.6071 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.6646, allocations: 252.6 kB / 0.6074 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.6652, allocations: 331.8 kB / 0.6077 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/0.6652, allocations: 16 kB / 0.6077 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.6652, allocations: 7.922 kB / 0.6077 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6652, allocations: 3.984 kB / 0.6077 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009946/0.6752, allocations: 6.884 MB / 0.6144 GB, free: 3.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.6753, allocations: 12.03 kB / 0.6145 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007078/0.676, allocations: 171.2 kB / 0.6146 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.676, allocations: 12 kB / 0.6146 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.6761, allocations: 32.86 kB / 0.6147 GB, free: 3.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.6761, allocations: 15.12 kB / 0.6147 GB, free: 3.062 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/0.6761, allocations: 11.56 kB / 0.6147 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.679, allocations: 2.251 MB / 0.6169 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.6797, allocations: 349.4 kB / 0.6172 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002755/0.68, allocations: 26.11 kB / 0.6172 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/0.6807, allocations: 55.45 kB / 0.6173 GB, free: 272 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.6809, allocations: 85.83 kB / 0.6174 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/0.681, allocations: 50.34 kB / 0.6174 GB, free: 144 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002853/0.6838, allocations: 1.983 MB / 0.6194 GB, free: 14.16 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6838, allocations: 0 / 0.6194 GB, free: 14.16 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003992/0.6878, allocations: 1.015 MB / 0.6204 GB, free: 13.14 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.002993/0.6908, allocations: 2.908 MB / 0.6232 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007015/0.6979, allocations: 4.655 MB / 0.6277 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.6979, allocations: 0 / 0.6277 GB, free: 5.527 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.699, allocations: 0.9189 MB / 0.6286 GB, free: 4.605 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.7008, allocations: 325.7 kB / 0.6289 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06626/0.7671, allocations: 38.15 MB / 0.6662 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005233/0.7724, allocations: 3.012 MB / 0.6691 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003937/0.7763, allocations: 1.725 MB / 0.6708 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00229/0.7786, allocations: 1.538 MB / 0.6723 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.7786, allocations: 0 / 0.6723 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3172/1.096, allocations: 48.76 MB / 0.7199 GB, free: 211.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001552/1.096, allocations: 198.6 kB / 0.7201 GB, free: 211.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/4.402, allocations: 1.547 kB / 0.7201 GB, free: 211.7 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