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.001503/0.001503, 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.001479/0.001479, allocations: 198 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.457/1.457, allocations: 227.4 MB / 247 MB, free: 10.44 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.2379/0.2379, allocations: 46.13 MB / 344.4 MB, free: 11.44 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.002262/0.002263, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3437, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01334/0.3571, allocations: 11.38 MB / 0.5417 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006893/0.364, allocations: 2.838 MB / 0.5445 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.3658, allocations: 58.72 kB / 0.5445 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002983/0.3689, allocations: 1.33 MB / 0.5458 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.3723, allocations: 1.232 MB / 0.547 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.3727, allocations: 73.73 kB / 0.5471 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.3769, allocations: 2.769 MB / 0.5498 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.3795, allocations: 1.77 MB / 0.5515 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.3813, allocations: 1.062 MB / 0.5526 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.3836, allocations: 1.483 MB / 0.554 GB, free: 9.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.3842, allocations: 204 kB / 0.5542 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.3855, allocations: 499.3 kB / 0.5547 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3871, allocations: 1.418 MB / 0.5561 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.3891, allocations: 1.711 MB / 0.5578 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006767/0.3959, allocations: 5.517 MB / 0.5631 GB, free: 256 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3959, allocations: 0 / 0.5631 GB, free: 256 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3959, allocations: 0 / 0.5631 GB, free: 256 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.3961, allocations: 0 / 0.5631 GB, free: 256 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.006884/0.403, allocations: 3.743 MB / 0.5668 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.403, allocations: 12.03 kB / 0.5668 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/0.4041, allocations: 0.6797 MB / 0.5675 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.4148, allocations: 3.001 MB / 0.5704 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.4183, allocations: 1.557 MB / 0.5719 GB, free: 7.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.4185, allocations: 176.7 kB / 0.5721 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006389/0.4191, allocations: 231.8 kB / 0.5723 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4355, allocations: 9.694 MB / 0.5818 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.871e-05/0.4356, allocations: 27.75 kB / 0.5818 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.436, allocations: 119.7 kB / 0.5819 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/0.4401, allocations: 2.428 MB / 0.5843 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/0.4585, allocations: 8.82 MB / 0.5929 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0452/0.5037, allocations: 30.6 MB / 0.6228 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005498/0.5093, allocations: 3.269 MB / 0.626 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.5106, allocations: 0.9257 MB / 0.6269 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.18e-05/0.5107, allocations: 16.98 kB / 0.6269 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5108, allocations: 39.56 kB / 0.6269 GB, free: 13.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.156e-06/0.5108, allocations: 0 / 0.6269 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007376/0.5181, allocations: 3.383 MB / 0.6302 GB, free: 9.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.5183, allocations: 68.34 kB / 0.6303 GB, free: 9.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/0.5233, allocations: 3.123 MB / 0.6334 GB, free: 6.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.5235, allocations: 41.7 kB / 0.6334 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.5257, allocations: 2.794 MB / 0.6361 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.5265, allocations: 0.5853 MB / 0.6367 GB, free: 3.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.5278, allocations: 0.9845 MB / 0.6377 GB, free: 2.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.528, allocations: 301.1 kB / 0.6379 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/0.5303, allocations: 1.528 MB / 0.6394 GB, free: 376 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004582/0.5348, allocations: 4.447 MB / 0.6438 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00776/0.5426, allocations: 6.543 MB / 0.6502 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-05/0.5427, allocations: 32 kB / 0.6502 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0105/0.5532, allocations: 5.841 MB / 0.6559 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.5533, allocations: 50.66 kB / 0.656 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/0.5535, allocations: 104 kB / 0.6561 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.5536, allocations: 136 kB / 0.6562 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/0.5569, allocations: 1.06 MB / 0.6572 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001979/0.5571, allocations: 207.2 kB / 0.6574 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/0.5608, allocations: 0.69 MB / 0.6581 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007219/0.5615, allocations: 300 kB / 0.6584 GB, free: 10.06 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.003988/0.5655, allocations: 1.946 MB / 0.6603 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/0.5661, allocations: 274.1 kB / 0.6605 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000719/0.5668, allocations: 323.8 kB / 0.6608 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.5668, allocations: 31.92 kB / 0.6609 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.5669, allocations: 0 / 0.6609 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.5669, allocations: 3.984 kB / 0.6609 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.5784, allocations: 6.87 MB / 0.6676 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/0.5785, allocations: 8 kB / 0.6676 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.5792, allocations: 179.7 kB / 0.6678 GB, free: 268 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.5792, allocations: 11.94 kB / 0.6678 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/0.5793, allocations: 36.58 kB / 0.6678 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.742e-05/0.5794, allocations: 19.92 kB / 0.6678 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.308e-05/0.5794, allocations: 15.94 kB / 0.6678 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.5825, allocations: 2.253 MB / 0.6701 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/0.5833, allocations: 370.8 kB / 0.6704 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.5835, allocations: 31.88 kB / 0.6704 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.5843, allocations: 47.94 kB / 0.6705 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5844, allocations: 84.39 kB / 0.6706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.5846, allocations: 47.98 kB / 0.6706 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003289/0.5879, allocations: 1.975 MB / 0.6725 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5879, allocations: 0 / 0.6725 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004305/0.5922, allocations: 1.009 MB / 0.6735 GB, free: 10.24 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.003748/0.596, allocations: 2.915 MB / 0.6764 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006109/0.6021, allocations: 3.578 MB / 0.6799 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.6021, allocations: 4 kB / 0.6799 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6034, allocations: 0.9223 MB / 0.6808 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6053, allocations: 329.5 kB / 0.6811 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/0.6559, allocations: 33.51 MB / 0.7138 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/0.6598, allocations: 3.008 MB / 0.7167 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003585/0.6634, allocations: 1.715 MB / 0.7184 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/0.6656, allocations: 1.546 MB / 0.7199 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.6656, allocations: 0 / 0.7199 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.352/1.018, allocations: 45.55 MB / 0.7644 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.06, allocations: 7.156 kB / 0.7644 GB, free: 156.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1)