Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001382/0.001382, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00176/0.001761, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2466/0.2466, allocations: 46.11 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003321/0.003321, allocations: 81.14 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1576, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01424/0.1719, allocations: 11.38 MB / 491.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.179, allocations: 2.839 MB / 494.4 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1818, allocations: 55.94 kB / 494.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.1858, allocations: 1.331 MB / 495.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.19, allocations: 1.233 MB / 497 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.1906, allocations: 79.84 kB / 497.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.1951, allocations: 2.758 MB / 499.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.1978, allocations: 1.768 MB / 0.4899 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.1998, allocations: 1.059 MB / 0.4909 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.2019, allocations: 1.475 MB / 0.4924 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005061/0.2024, allocations: 207.9 kB / 0.4926 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.2035, allocations: 499.3 kB / 0.493 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.2049, allocations: 1.414 MB / 0.4944 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001907/0.2068, allocations: 1.723 MB / 0.4961 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00621/0.2131, allocations: 5.209 MB / 0.5012 GB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2131, allocations: 0 / 0.5012 GB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2131, allocations: 0 / 0.5012 GB, free: 3.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.2133, allocations: 4 kB / 0.5012 GB, free: 3.949 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.007794/0.2211, allocations: 3.629 MB / 0.5047 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.2212, allocations: 12.03 kB / 0.5047 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2365/0.4577, allocations: 0.6823 MB / 0.5054 GB, free: 39.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.4693, allocations: 2.977 MB / 0.5083 GB, free: 39.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004383/0.4737, allocations: 1.544 MB / 0.5098 GB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.474, allocations: 176.1 kB / 0.51 GB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008252/0.4748, allocations: 223.8 kB / 0.5102 GB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.4928, allocations: 9.709 MB / 0.5197 GB, free: 34.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.4929, allocations: 23.09 kB / 0.5197 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003636/0.4933, allocations: 110.5 kB / 0.5198 GB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004002/0.4973, allocations: 2.433 MB / 0.5222 GB, free: 33.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.5132, allocations: 8.815 MB / 0.5308 GB, free: 26.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04032/0.5535, allocations: 30.67 MB / 0.5608 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006326/0.5599, allocations: 3.268 MB / 0.5639 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.5616, allocations: 0.927 MB / 0.5649 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.5617, allocations: 16.98 kB / 0.5649 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.954e-05/0.5618, allocations: 43.55 kB / 0.5649 GB, free: 6.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 7.414e-06/0.5618, allocations: 4 kB / 0.5649 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.008352/0.5702, allocations: 3.37 MB / 0.5682 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.5703, allocations: 64.41 kB / 0.5683 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00625/0.5765, allocations: 3.114 MB / 0.5713 GB, free: 140 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.5768, allocations: 41.7 kB / 0.5713 GB, free: 92 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.5794, allocations: 2.673 MB / 0.574 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/0.5803, allocations: 0.567 MB / 0.5745 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.582, allocations: 0.9681 MB / 0.5755 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5822, allocations: 309.1 kB / 0.5758 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.5848, allocations: 1.532 MB / 0.5772 GB, free: 9.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005271/0.5901, allocations: 4.447 MB / 0.5816 GB, free: 4.074 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00873/0.5988, allocations: 6.538 MB / 0.588 GB, free: 12.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/0.599, allocations: 28 kB / 0.588 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01267/0.6117, allocations: 5.834 MB / 0.5937 GB, free: 6.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.6118, allocations: 52 kB / 0.5937 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/0.612, allocations: 100 kB / 0.5938 GB, free: 6.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.6122, allocations: 140 kB / 0.594 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/0.6158, allocations: 1.06 MB / 0.595 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.6161, allocations: 207.2 kB / 0.5952 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.6198, allocations: 0.6767 MB / 0.5959 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007334/0.6206, allocations: 299.9 kB / 0.5962 GB, free: 3.703 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.00418/0.6247, allocations: 1.938 MB / 0.5981 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/0.6253, allocations: 260.5 kB / 0.5983 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009069/0.6263, allocations: 323.8 kB / 0.5986 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-05/0.6263, allocations: 20 kB / 0.5986 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6263, allocations: 4 kB / 0.5986 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.6264, allocations: 7.969 kB / 0.5986 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.6404, allocations: 6.891 MB / 0.6054 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.6404, allocations: 7.984 kB / 0.6054 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.6412, allocations: 175.7 kB / 0.6055 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.6413, allocations: 12 kB / 0.6056 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.6414, allocations: 28 kB / 0.6056 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.401e-05/0.6414, allocations: 19.92 kB / 0.6056 GB, free: 9.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.6414, allocations: 7.938 kB / 0.6056 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.6451, allocations: 2.247 MB / 0.6078 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.6462, allocations: 357.2 kB / 0.6081 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006635/0.6468, allocations: 27.98 kB / 0.6082 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.648, allocations: 47.95 kB / 0.6082 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.6483, allocations: 88.33 kB / 0.6083 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.6484, allocations: 47.98 kB / 0.6083 GB, free: 6.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004696/0.6531, allocations: 1.979 MB / 0.6103 GB, free: 4.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6531, allocations: 3.938 kB / 0.6103 GB, free: 4.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006271/0.6594, allocations: 0.9896 MB / 0.6112 GB, free: 3.941 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.004473/0.6639, allocations: 2.9 MB / 0.6141 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008297/0.6722, allocations: 4.653 MB / 0.6186 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.6723, allocations: 0 / 0.6186 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.6736, allocations: 0.9197 MB / 0.6195 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/0.6761, allocations: 339.5 kB / 0.6198 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06465/0.7407, allocations: 36.38 MB / 0.6554 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005887/0.7467, allocations: 3.008 MB / 0.6583 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004933/0.7517, allocations: 1.715 MB / 0.66 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/0.7549, allocations: 1.546 MB / 0.6615 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.7549, allocations: 0 / 0.6615 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.1, allocations: 48.8 MB / 0.7092 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.468/10.57, allocations: 11.28 kB / 0.7092 GB, free: 179.7 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1)