Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.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.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001985/0.001985, allocations: 199.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 247 MB, free: 10.43 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.2219/0.2219, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002331/0.002331, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3176, allocations: 62.43 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01913/0.3368, allocations: 16.1 MB / 0.5463 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.3508, allocations: 4.973 MB / 0.5512 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.3548, allocations: 99.75 kB / 0.5513 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.3694, allocations: 5.171 MB / 0.5563 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009733/0.3792, allocations: 2.462 MB / 0.5587 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.3832, allocations: 1.182 MB / 0.5599 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0128/0.396, allocations: 6.658 MB / 0.5664 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008843/0.4049, allocations: 6.329 MB / 0.5726 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/0.41, allocations: 2.59 MB / 0.5751 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/0.4161, allocations: 3.661 MB / 0.5787 GB, free: 304 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002158/0.4183, allocations: 0.5704 MB / 0.5792 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.4231, allocations: 1.28 MB / 0.5805 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004688/0.4279, allocations: 3.203 MB / 0.5836 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007549/0.4355, allocations: 3.67 MB / 0.5872 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4511, allocations: 11.15 MB / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4512, allocations: 0 / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4512, allocations: 0 / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003483/0.4516, allocations: 0 / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01718/0.4687, allocations: 7.812 MB / 0.6057 GB, free: 4.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.4688, allocations: 12.03 kB / 0.6057 GB, free: 4.426 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002824/0.4716, allocations: 1.186 MB / 0.6069 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.4826, allocations: 2.664 MB / 0.6095 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/0.4914, allocations: 4.268 MB / 0.6137 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004557/0.4919, allocations: 443 kB / 0.6141 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001922/0.4939, allocations: 0.5466 MB / 0.6146 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04422/0.5381, allocations: 19.75 MB / 0.6339 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.5384, allocations: 63.45 kB / 0.634 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/0.5402, allocations: 267.8 kB / 0.6342 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005451/0.5457, allocations: 3.157 MB / 0.6373 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03949/0.5852, allocations: 15.85 MB / 0.6528 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09023/0.6755, allocations: 63.86 MB / 0.7151 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4681/1.144, allocations: 6.331 MB / 0.7213 GB, free: 160.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003094/1.147, allocations: 2.083 MB / 0.7234 GB, free: 160.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/1.159, allocations: 9.198 MB / 0.7323 GB, free: 157 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/1.159, allocations: 67.25 kB / 0.7324 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.21e-06/1.159, allocations: 0 / 0.7324 GB, free: 156.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05034/1.21, allocations: 21.75 MB / 0.7536 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.21, allocations: 162.5 kB / 0.7538 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006301/1.216, allocations: 5.791 MB / 0.7595 GB, free: 136 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/1.217, allocations: 69.69 kB / 0.7595 GB, free: 136 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.219, allocations: 5.035 MB / 0.7644 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009688/1.22, allocations: 1.163 MB / 0.7656 GB, free: 130.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001726/1.221, allocations: 1.81 MB / 0.7673 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.641e-05/1.221, allocations: 301.1 kB / 0.7676 GB, free: 128 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/1.225, allocations: 2.618 MB / 0.7702 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/1.23, allocations: 8.169 MB / 0.7782 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009416/1.239, allocations: 11.72 MB / 0.7896 GB, free: 100 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.239, allocations: 56.56 kB / 0.7897 GB, free: 99.97 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01591/1.255, allocations: 10.5 MB / 0.7999 GB, free: 89.47 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.776e-05/1.256, allocations: 92 kB / 0.8 GB, free: 89.38 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/1.256, allocations: 196 kB / 0.8002 GB, free: 89.19 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/1.256, allocations: 261.8 kB / 0.8004 GB, free: 88.93 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006186/1.262, allocations: 2.211 MB / 0.8026 GB, free: 86.72 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/1.262, allocations: 382.5 kB / 0.803 GB, free: 86.34 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005746/1.268, allocations: 455.5 kB / 0.8034 GB, free: 85.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/1.269, allocations: 0.543 MB / 0.8039 GB, free: 85.36 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1168 * Array equations: 3 * 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.004161/1.273, allocations: 3.148 MB / 0.807 GB, free: 82.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008553/1.274, allocations: 0.5355 MB / 0.8075 GB, free: 81.66 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/1.279, allocations: 2.988 MB / 0.8104 GB, free: 78.65 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.468e-05/1.279, allocations: 35.84 kB / 0.8105 GB, free: 78.62 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.279, allocations: 4 kB / 0.8105 GB, free: 78.62 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/1.279, allocations: 15.94 kB / 0.8105 GB, free: 78.6 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.297, allocations: 12.27 MB / 0.8225 GB, free: 65.86 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/1.297, allocations: 32 kB / 0.8225 GB, free: 65.83 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.298, allocations: 0.542 MB / 0.823 GB, free: 65.29 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/1.299, allocations: 47.98 kB / 0.8231 GB, free: 65.24 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/1.299, allocations: 91.98 kB / 0.8232 GB, free: 65.15 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.978e-05/1.299, allocations: 63.92 kB / 0.8232 GB, free: 65.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/1.299, allocations: 55.75 kB / 0.8233 GB, free: 65.03 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005795/1.305, allocations: 5.637 MB / 0.8288 GB, free: 58.86 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.306, allocations: 0.6027 MB / 0.8294 GB, free: 58.23 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008446/1.307, allocations: 99.88 kB / 0.8295 GB, free: 58.14 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/1.309, allocations: 135.9 kB / 0.8296 GB, free: 58 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.31, allocations: 271.9 kB / 0.8299 GB, free: 57.74 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.31, allocations: 116 kB / 0.83 GB, free: 57.62 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005229/1.315, allocations: 3.59 MB / 0.8335 GB, free: 54.07 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.31e-07/1.315, allocations: 0 / 0.8335 GB, free: 54.07 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006731/1.322, allocations: 1.406 MB / 0.8349 GB, free: 52.66 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * 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.006095/1.328, allocations: 6.364 MB / 0.8411 GB, free: 45.76 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008147/1.336, allocations: 6.035 MB / 0.847 GB, free: 39.76 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.481e-05/1.336, allocations: 4 kB / 0.847 GB, free: 39.76 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/1.338, allocations: 1.371 MB / 0.8483 GB, free: 38.4 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/1.342, allocations: 0.7498 MB / 0.849 GB, free: 37.66 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08926/1.432, allocations: 67.65 MB / 0.9151 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006945/1.439, allocations: 4.76 MB / 0.9197 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00628/1.445, allocations: 2.579 MB / 0.9223 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005087/1.45, allocations: 3.201 MB / 0.9254 GB, free: 13.45 MB / 0.6232 GB Notification: Performance of SimCode: time 1.253e-06/1.45, allocations: 0 / 0.9254 GB, free: 13.45 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3799/1.83, allocations: 92.6 MB / 1.016 GB, free: 177.9 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.42/24.25, allocations: 11.31 kB / 1.016 GB, free: 177.9 MB / 0.6388 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)