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.001279/0.001279, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247 MB, free: 10.4 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.2334/0.2334, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002279/0.002279, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3419, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01364/0.3556, allocations: 11.38 MB / 0.5417 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007431/0.3631, allocations: 2.836 MB / 0.5445 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3653, allocations: 53.41 kB / 0.5445 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003214/0.3686, allocations: 1.334 MB / 0.5458 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.3721, allocations: 1.233 MB / 0.547 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3725, allocations: 74.53 kB / 0.5471 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.3766, allocations: 2.769 MB / 0.5498 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.3789, allocations: 1.767 MB / 0.5515 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3806, allocations: 1.07 MB / 0.5526 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.3826, allocations: 1.471 MB / 0.554 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.3831, allocations: 204 kB / 0.5542 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.3842, allocations: 0.4915 MB / 0.5547 GB, free: 8.922 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.3855, allocations: 1.418 MB / 0.5561 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.3874, allocations: 1.719 MB / 0.5578 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005949/0.3933, allocations: 5.508 MB / 0.5631 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3933, allocations: 0 / 0.5631 GB, free: 244 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3934, allocations: 0 / 0.5631 GB, free: 244 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001087/0.3935, allocations: 0 / 0.5631 GB, free: 244 kB / 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.005541/0.399, allocations: 3.742 MB / 0.5668 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3991, allocations: 16.03 kB / 0.5668 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008872/0.4, allocations: 0.6797 MB / 0.5675 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.4104, allocations: 2.997 MB / 0.5704 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.4137, allocations: 1.561 MB / 0.5719 GB, free: 7.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.4139, allocations: 180.7 kB / 0.5721 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004994/0.4144, allocations: 223.8 kB / 0.5723 GB, free: 6.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01556/0.4299, allocations: 9.698 MB / 0.5818 GB, free: 12.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.825e-05/0.4301, allocations: 23.75 kB / 0.5818 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.4304, allocations: 115.8 kB / 0.5819 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003888/0.4343, allocations: 2.432 MB / 0.5843 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.4511, allocations: 8.82 MB / 0.5929 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04594/0.4971, allocations: 30.6 MB / 0.6228 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.503, allocations: 3.277 MB / 0.626 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.5045, allocations: 0.9258 MB / 0.6269 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/0.5045, allocations: 16.92 kB / 0.6269 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.876e-05/0.5046, allocations: 43.56 kB / 0.6269 GB, free: 13.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.589e-06/0.5046, allocations: 0 / 0.6269 GB, free: 13.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007458/0.5121, allocations: 3.383 MB / 0.6302 GB, free: 9.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.5122, allocations: 72.33 kB / 0.6303 GB, free: 9.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004908/0.5171, allocations: 3.112 MB / 0.6334 GB, free: 6.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.5173, allocations: 41.7 kB / 0.6334 GB, free: 6.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/0.5195, allocations: 2.794 MB / 0.6361 GB, free: 3.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/0.5202, allocations: 0.5931 MB / 0.6367 GB, free: 3.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/0.5215, allocations: 0.9767 MB / 0.6377 GB, free: 2.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5216, allocations: 309.1 kB / 0.638 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.5239, allocations: 1.528 MB / 0.6394 GB, free: 344 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/0.5284, allocations: 4.447 MB / 0.6438 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007762/0.5362, allocations: 6.539 MB / 0.6502 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-05/0.5363, allocations: 28 kB / 0.6502 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.009709/0.546, allocations: 5.841 MB / 0.6559 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.326e-05/0.5461, allocations: 52 kB / 0.656 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/0.5463, allocations: 104 kB / 0.6561 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/0.5464, allocations: 136 kB / 0.6562 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002964/0.5494, allocations: 1.06 MB / 0.6572 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001728/0.5496, allocations: 203.2 kB / 0.6574 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/0.5526, allocations: 0.6942 MB / 0.6581 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004053/0.553, allocations: 304 kB / 0.6584 GB, free: 10.03 MB / 0.5137 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.003099/0.5561, allocations: 1.938 MB / 0.6603 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/0.5566, allocations: 274.1 kB / 0.6605 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000648/0.5572, allocations: 331.8 kB / 0.6608 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/0.5573, allocations: 31.92 kB / 0.6609 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.5573, allocations: 0 / 0.6609 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5573, allocations: 7.984 kB / 0.6609 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.5681, allocations: 6.866 MB / 0.6676 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.5681, allocations: 8 kB / 0.6676 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.5688, allocations: 172.6 kB / 0.6678 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.5688, allocations: 8 kB / 0.6678 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.017e-05/0.5689, allocations: 39.92 kB / 0.6678 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.5689, allocations: 15.94 kB / 0.6678 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.569, allocations: 11.94 kB / 0.6678 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.5719, allocations: 2.265 MB / 0.67 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007119/0.5727, allocations: 370.8 kB / 0.6704 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.5729, allocations: 27.94 kB / 0.6704 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.5736, allocations: 51.83 kB / 0.6705 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.5738, allocations: 80.44 kB / 0.6706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5739, allocations: 51.98 kB / 0.6706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003237/0.5772, allocations: 1.975 MB / 0.6725 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5772, allocations: 4 kB / 0.6725 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003841/0.581, allocations: 1.005 MB / 0.6735 GB, free: 10.21 MB / 0.5294 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.003551/0.5846, allocations: 2.915 MB / 0.6764 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005975/0.5906, allocations: 3.577 MB / 0.6799 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5906, allocations: 0.875 kB / 0.6799 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.5918, allocations: 0.9215 MB / 0.6808 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.5935, allocations: 326.9 kB / 0.6811 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05081/0.6443, allocations: 33.51 MB / 0.7138 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003883/0.6483, allocations: 3.008 MB / 0.7167 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004001/0.6523, allocations: 1.722 MB / 0.7184 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/0.6544, allocations: 1.53 MB / 0.7199 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.6544, allocations: 0 / 0.7199 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/0.9854, allocations: 45.56 MB / 0.7644 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.39, allocations: 11.22 kB / 0.7644 GB, free: 158.5 MB / 0.5762 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)