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.001463/0.001463, allocations: 112.7 kB / 17.78 MB, free: 5.281 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.002265/0.002266, allocations: 180.1 kB / 18.71 MB, free: 4.363 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2199/0.2199, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3467, 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.01131/0.3581, allocations: 11.42 MB / 0.5296 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.3648, allocations: 2.811 MB / 0.5323 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.3664, allocations: 55.34 kB / 0.5324 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.369, allocations: 1.321 MB / 0.5337 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.3717, allocations: 1.287 MB / 0.5349 GB, free: 7.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.372, allocations: 74.11 kB / 0.535 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003629/0.3757, allocations: 2.799 MB / 0.5377 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.3782, allocations: 1.773 MB / 0.5394 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3804, allocations: 1.067 MB / 0.5405 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.3829, allocations: 1.485 MB / 0.5419 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005728/0.3835, allocations: 205.3 kB / 0.5421 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3847, allocations: 499.1 kB / 0.5426 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.386, allocations: 1.466 MB / 0.544 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001719/0.3877, allocations: 1.731 MB / 0.5457 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005635/0.3934, allocations: 5.572 MB / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3934, allocations: 0 / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3934, allocations: 0 / 0.5512 GB, free: 10.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001297/0.3936, allocations: 0 / 0.5512 GB, free: 10.44 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.006669/0.4002, allocations: 3.777 MB / 0.5549 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.4003, allocations: 12.02 kB / 0.5549 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008877/0.4012, allocations: 0.6836 MB / 0.5555 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009926/0.4111, allocations: 3.001 MB / 0.5585 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.4148, allocations: 1.569 MB / 0.56 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.415, allocations: 172.6 kB / 0.5602 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005403/0.4155, allocations: 231.8 kB / 0.5604 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.429, allocations: 9.698 MB / 0.5699 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.4291, allocations: 19.81 kB / 0.5699 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.4295, allocations: 115.8 kB / 0.57 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003575/0.433, allocations: 2.432 MB / 0.5724 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.4481, allocations: 8.808 MB / 0.581 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04221/0.4904, allocations: 30.61 MB / 0.6109 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005262/0.4957, allocations: 3.27 MB / 0.614 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/0.497, allocations: 0.9219 MB / 0.6149 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.497, allocations: 20.98 kB / 0.615 GB, free: 7.473 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.4971, allocations: 43.56 kB / 0.615 GB, free: 7.422 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.298e-06/0.4971, allocations: 0 / 0.615 GB, free: 7.422 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.007642/0.5047, allocations: 3.383 MB / 0.6183 GB, free: 4.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.5048, allocations: 64.34 kB / 0.6184 GB, free: 3.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005196/0.51, allocations: 3.132 MB / 0.6214 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.5102, allocations: 45.64 kB / 0.6215 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002059/0.5123, allocations: 2.791 MB / 0.6242 GB, free: 13.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.513, allocations: 0.5892 MB / 0.6248 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.5145, allocations: 0.9806 MB / 0.6257 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5147, allocations: 305.1 kB / 0.626 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.517, allocations: 1.528 MB / 0.6275 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/0.5214, allocations: 4.451 MB / 0.6319 GB, free: 4.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007067/0.5285, allocations: 6.535 MB / 0.6382 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/0.5286, allocations: 28 kB / 0.6383 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.00992/0.5385, allocations: 5.84 MB / 0.644 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.5387, allocations: 53 kB / 0.644 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/0.5388, allocations: 104 kB / 0.6441 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001568/0.539, allocations: 140 kB / 0.6443 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00308/0.5421, allocations: 1.064 MB / 0.6453 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001802/0.5423, allocations: 203.2 kB / 0.6455 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/0.5458, allocations: 0.69 MB / 0.6462 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005562/0.5464, allocations: 304 kB / 0.6465 GB, free: 4.195 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.003156/0.5495, allocations: 1.942 MB / 0.6484 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.55, allocations: 274.1 kB / 0.6486 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/0.5507, allocations: 327.8 kB / 0.6489 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/0.5508, allocations: 23.92 kB / 0.649 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.5508, allocations: 0 / 0.649 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5508, allocations: 3.984 kB / 0.649 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.5649, allocations: 6.882 MB / 0.6557 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.5649, allocations: 8 kB / 0.6557 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.5657, allocations: 175.7 kB / 0.6559 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.5657, allocations: 12 kB / 0.6559 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.763e-05/0.5658, allocations: 31.94 kB / 0.6559 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.571e-05/0.5659, allocations: 15.92 kB / 0.6559 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.5659, allocations: 8 kB / 0.6559 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.5687, allocations: 2.277 MB / 0.6581 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.5696, allocations: 362.9 kB / 0.6585 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/0.5702, allocations: 27.94 kB / 0.6585 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009824/0.5712, allocations: 47.89 kB / 0.6586 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.5714, allocations: 84.39 kB / 0.6586 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.5715, allocations: 51.97 kB / 0.6587 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003301/0.5748, allocations: 1.979 MB / 0.6606 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.603e-06/0.5748, allocations: 0 / 0.6606 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003921/0.5787, allocations: 1.032 MB / 0.6616 GB, free: 4.352 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.003192/0.5819, allocations: 2.911 MB / 0.6645 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005197/0.5871, allocations: 3.581 MB / 0.668 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5872, allocations: 0 / 0.668 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.5882, allocations: 0.9196 MB / 0.6689 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.5901, allocations: 340.4 kB / 0.6692 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05013/0.6402, allocations: 33.52 MB / 0.7019 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004394/0.6447, allocations: 3.012 MB / 0.7049 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003547/0.6483, allocations: 1.722 MB / 0.7065 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/0.6505, allocations: 1.55 MB / 0.7081 GB, free: 376 kB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.6505, allocations: 0 / 0.7081 GB, free: 376 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/0.9969, allocations: 45.65 MB / 0.7526 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.34, allocations: 4 kB / 0.7526 GB, free: 176.2 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.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_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches