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.001394/0.001394, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2344/0.2344, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002318/0.002318, allocations: 92.12 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1565, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01337/0.17, allocations: 11.39 MB / 491.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.1767, allocations: 2.835 MB / 494.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1785, allocations: 51.94 kB / 494.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002933/0.1815, allocations: 1.335 MB / 495.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.1851, allocations: 1.233 MB / 497.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1856, allocations: 75.86 kB / 497.1 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0041/0.1897, allocations: 2.755 MB / 499.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.1925, allocations: 1.772 MB / 0.4899 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.1947, allocations: 1.055 MB / 0.4909 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.1974, allocations: 1.475 MB / 0.4924 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005775/0.198, allocations: 204 kB / 0.4926 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.1993, allocations: 0.4915 MB / 0.493 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.2009, allocations: 1.418 MB / 0.4944 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.2032, allocations: 1.723 MB / 0.4961 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006215/0.2094, allocations: 5.205 MB / 0.5012 GB, free: 3.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2095, allocations: 0 / 0.5012 GB, free: 3.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2095, allocations: 0 / 0.5012 GB, free: 3.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001988/0.2097, allocations: 0 / 0.5012 GB, free: 3.992 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.007458/0.2171, allocations: 3.633 MB / 0.5047 GB, free: 300 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.2172, allocations: 12.02 kB / 0.5048 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2606/0.4778, allocations: 0.6831 MB / 0.5054 GB, free: 40 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4891, allocations: 2.975 MB / 0.5083 GB, free: 39.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/0.4935, allocations: 1.549 MB / 0.5098 GB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.4938, allocations: 176.8 kB / 0.51 GB, free: 38.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.4948, allocations: 223.4 kB / 0.5102 GB, free: 38.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.515, allocations: 9.708 MB / 0.5197 GB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-05/0.5151, allocations: 23.44 kB / 0.5197 GB, free: 34.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000355/0.5154, allocations: 106.5 kB / 0.5198 GB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003798/0.5192, allocations: 2.436 MB / 0.5222 GB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.5343, allocations: 8.811 MB / 0.5308 GB, free: 26.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04078/0.5751, allocations: 30.67 MB / 0.5608 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005459/0.5806, allocations: 3.268 MB / 0.5639 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.582, allocations: 0.9265 MB / 0.5649 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.578e-05/0.5821, allocations: 16.98 kB / 0.5649 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/0.5821, allocations: 51.48 kB / 0.5649 GB, free: 6.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.666e-06/0.5821, allocations: 0 / 0.5649 GB, free: 6.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.007632/0.5898, allocations: 3.369 MB / 0.5682 GB, free: 3.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5899, allocations: 60.41 kB / 0.5683 GB, free: 3.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/0.5947, allocations: 3.111 MB / 0.5713 GB, free: 372 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.5949, allocations: 49.69 kB / 0.5714 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.5971, allocations: 2.681 MB / 0.574 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000652/0.5978, allocations: 0.567 MB / 0.5745 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.599, allocations: 0.9642 MB / 0.5755 GB, free: 12.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5991, allocations: 305.1 kB / 0.5758 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002324/0.6015, allocations: 1.528 MB / 0.5772 GB, free: 10.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005413/0.6069, allocations: 4.455 MB / 0.5816 GB, free: 4.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009346/0.6163, allocations: 6.541 MB / 0.588 GB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/0.6165, allocations: 28 kB / 0.588 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01289/0.6294, allocations: 5.832 MB / 0.5937 GB, free: 6.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.184e-05/0.6295, allocations: 48 kB / 0.5938 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/0.6297, allocations: 109.2 kB / 0.5939 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.6299, allocations: 140 kB / 0.594 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003324/0.6332, allocations: 1.057 MB / 0.595 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002051/0.6334, allocations: 207.2 kB / 0.5952 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.6372, allocations: 0.6762 MB / 0.5959 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/0.6378, allocations: 291.9 kB / 0.5962 GB, free: 3.922 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.003593/0.6414, allocations: 1.954 MB / 0.5981 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005559/0.642, allocations: 256.5 kB / 0.5983 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.6428, allocations: 327.8 kB / 0.5986 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/0.6429, allocations: 16 kB / 0.5986 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.6429, allocations: 0 / 0.5986 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.6429, allocations: 7.969 kB / 0.5986 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.6566, allocations: 6.883 MB / 0.6054 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/0.6567, allocations: 16.05 kB / 0.6054 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008102/0.6575, allocations: 176.6 kB / 0.6056 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.097e-05/0.6576, allocations: 12 kB / 0.6056 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.6577, allocations: 28 kB / 0.6056 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-05/0.6577, allocations: 15.98 kB / 0.6056 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.271e-05/0.6577, allocations: 18.03 kB / 0.6056 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.6611, allocations: 2.239 MB / 0.6078 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.6621, allocations: 357.2 kB / 0.6082 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006368/0.6627, allocations: 35.91 kB / 0.6082 GB, free: 7.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.664, allocations: 43.95 kB / 0.6082 GB, free: 7.258 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.6642, allocations: 80.39 kB / 0.6083 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.6643, allocations: 51.98 kB / 0.6084 GB, free: 7.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004568/0.6689, allocations: 1.983 MB / 0.6103 GB, free: 5.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6689, allocations: 4 kB / 0.6103 GB, free: 5.141 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004981/0.6739, allocations: 0.9869 MB / 0.6113 GB, free: 4.152 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.004174/0.6781, allocations: 2.907 MB / 0.6141 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008566/0.6867, allocations: 4.642 MB / 0.6186 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/0.6868, allocations: 0.9375 kB / 0.6186 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.6881, allocations: 0.9215 MB / 0.6195 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.6908, allocations: 327.8 kB / 0.6198 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05968/0.7505, allocations: 36.39 MB / 0.6554 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003672/0.7542, allocations: 3.012 MB / 0.6583 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003998/0.7582, allocations: 1.718 MB / 0.66 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002415/0.7607, allocations: 1.534 MB / 0.6615 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.7607, allocations: 0 / 0.6615 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/1.089, allocations: 48.81 MB / 0.7092 GB, free: 180.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.134/10.22, allocations: 4.406 kB / 0.7092 GB, free: 180.1 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 & /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)