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.001254/0.001254, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001253/0.001253, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.388/1.388, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2132/0.2132, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 55.31 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1335, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01156/0.1451, allocations: 11.42 MB / 480.8 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006668/0.1519, allocations: 2.808 MB / 483.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.1538, allocations: 59.94 kB / 483.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.1564, allocations: 1.315 MB / 485 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.1594, allocations: 1.249 MB / 486.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1599, allocations: 67.92 kB / 486.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.1636, allocations: 2.799 MB / 489.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.1663, allocations: 1.772 MB / 490.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1685, allocations: 1.074 MB / 491.9 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.1708, allocations: 1.479 MB / 493.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.1714, allocations: 212 kB / 493.6 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.1725, allocations: 499.3 kB / 494.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1738, allocations: 1.445 MB / 495.5 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.1755, allocations: 1.735 MB / 497.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005261/0.1807, allocations: 5.264 MB / 0.4908 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1808, allocations: 0 / 0.4908 GB, free: 12.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1808, allocations: 0 / 0.4908 GB, free: 12.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001838/0.181, allocations: 0 / 0.4908 GB, free: 12.93 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.006446/0.1874, allocations: 3.667 MB / 0.4943 GB, free: 9.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1875, allocations: 12.02 kB / 0.4944 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008627/0.1884, allocations: 0.6797 MB / 0.495 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009746/0.1981, allocations: 2.982 MB / 0.4979 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.2016, allocations: 1.557 MB / 0.4994 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.2018, allocations: 172.7 kB / 0.4996 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006479/0.2024, allocations: 223.8 kB / 0.4998 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2851/0.4876, allocations: 9.705 MB / 0.5093 GB, free: 43.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.699e-05/0.4877, allocations: 19.47 kB / 0.5093 GB, free: 43.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/0.488, allocations: 106.7 kB / 0.5094 GB, free: 43.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003933/0.492, allocations: 2.437 MB / 0.5118 GB, free: 42.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/0.5085, allocations: 8.814 MB / 0.5204 GB, free: 40.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04091/0.5494, allocations: 30.68 MB / 0.5504 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.5539, allocations: 3.266 MB / 0.5536 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.555, allocations: 0.9219 MB / 0.5545 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.5551, allocations: 16.98 kB / 0.5545 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5552, allocations: 44.62 kB / 0.5545 GB, free: 6.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.268e-06/0.5552, allocations: 0 / 0.5545 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.006527/0.5617, allocations: 3.374 MB / 0.5578 GB, free: 3.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.5618, allocations: 68.41 kB / 0.5579 GB, free: 3.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/0.5663, allocations: 3.119 MB / 0.5609 GB, free: 188 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/0.5664, allocations: 45.69 kB / 0.561 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002239/0.5687, allocations: 2.677 MB / 0.5636 GB, free: 13.42 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006879/0.5694, allocations: 0.563 MB / 0.5641 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.5709, allocations: 0.9759 MB / 0.5651 GB, free: 11.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.5711, allocations: 301.1 kB / 0.5654 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.5735, allocations: 1.532 MB / 0.5669 GB, free: 10.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004851/0.5784, allocations: 4.447 MB / 0.5712 GB, free: 4.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/0.5867, allocations: 6.538 MB / 0.5776 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/0.5868, allocations: 32 kB / 0.5776 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01004/0.5969, allocations: 5.837 MB / 0.5833 GB, free: 6.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.847e-05/0.597, allocations: 48 kB / 0.5834 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001641/0.5972, allocations: 104 kB / 0.5835 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.5973, allocations: 139.9 kB / 0.5836 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00326/0.6006, allocations: 1.057 MB / 0.5846 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/0.6008, allocations: 203.2 kB / 0.5848 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/0.6051, allocations: 0.6727 MB / 0.5855 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/0.6056, allocations: 296 kB / 0.5858 GB, free: 3.746 MB / 414.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.003829/0.6094, allocations: 1.954 MB / 0.5877 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/0.61, allocations: 260.5 kB / 0.5879 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/0.6109, allocations: 327.8 kB / 0.5882 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/0.6109, allocations: 23.88 kB / 0.5883 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.6109, allocations: 6.438 kB / 0.5883 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6109, allocations: 3.984 kB / 0.5883 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/0.624, allocations: 6.876 MB / 0.595 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/0.624, allocations: 11.94 kB / 0.595 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/0.6248, allocations: 171.8 kB / 0.5952 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/0.6249, allocations: 15.94 kB / 0.5952 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.16e-05/0.625, allocations: 35.92 kB / 0.5952 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/0.625, allocations: 16.05 kB / 0.5952 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.625, allocations: 11.94 kB / 0.5952 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.6281, allocations: 2.247 MB / 0.5974 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.6292, allocations: 357.2 kB / 0.5978 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006075/0.6298, allocations: 27.94 kB / 0.5978 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.6309, allocations: 43.94 kB / 0.5978 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.6311, allocations: 80.45 kB / 0.5979 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6312, allocations: 51.98 kB / 0.598 GB, free: 6.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003988/0.6352, allocations: 1.979 MB / 0.5999 GB, free: 4.965 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.6352, allocations: 0 / 0.5999 GB, free: 4.965 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004965/0.6402, allocations: 1.014 MB / 0.6009 GB, free: 3.949 MB / 430.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.004336/0.6446, allocations: 2.914 MB / 0.6037 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007698/0.6523, allocations: 4.649 MB / 0.6083 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.6523, allocations: 0 / 0.6083 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6536, allocations: 0.915 MB / 0.6092 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.6562, allocations: 335.8 kB / 0.6095 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06035/0.7166, allocations: 36.43 MB / 0.6451 GB, free: 0.918 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005165/0.7218, allocations: 3.016 MB / 0.648 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004427/0.7263, allocations: 1.726 MB / 0.6497 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002583/0.7289, allocations: 1.538 MB / 0.6512 GB, free: 10.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7289, allocations: 0 / 0.6512 GB, free: 10.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3508/1.08, allocations: 48.88 MB / 0.6989 GB, free: 172.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.758/9.837, allocations: 6.031 kB / 0.6989 GB, free: 172.7 MB / 0.5137 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