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.00181/0.00181, 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.002207/0.002207, 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.505/1.505, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2371/0.2371, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002276/0.002277, allocations: 80.5 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1167, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01818/0.1349, allocations: 16.08 MB / 496.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.1458, allocations: 4.991 MB / 0.4895 GB, free: 16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.1482, allocations: 99.69 kB / 0.4896 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009903/0.1582, allocations: 5.159 MB / 0.4947 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00782/0.166, allocations: 2.47 MB / 0.4971 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.1692, allocations: 1.174 MB / 0.4982 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009771/0.179, allocations: 6.673 MB / 0.5047 GB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2057/0.3847, allocations: 6.33 MB / 0.5109 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005906/0.3907, allocations: 2.584 MB / 0.5134 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006404/0.3971, allocations: 3.664 MB / 0.517 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002279/0.3994, allocations: 0.5706 MB / 0.5176 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.4033, allocations: 1.277 MB / 0.5188 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005104/0.4085, allocations: 3.209 MB / 0.522 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007558/0.416, allocations: 3.667 MB / 0.5255 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.4328, allocations: 10.73 MB / 0.536 GB, free: 4.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.4329, allocations: 0 / 0.536 GB, free: 4.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.749e-06/0.433, allocations: 0 / 0.536 GB, free: 4.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006657/0.4336, allocations: 3.094 kB / 0.536 GB, free: 4.098 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01993/0.4536, allocations: 7.616 MB / 0.5435 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4536, allocations: 9.812 kB / 0.5435 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004139/0.4578, allocations: 1.187 MB / 0.5446 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.47, allocations: 2.622 MB / 0.5472 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/0.4809, allocations: 4.185 MB / 0.5513 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006652/0.4817, allocations: 432.4 kB / 0.5517 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003915/0.4856, allocations: 0.5564 MB / 0.5522 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04975/0.5354, allocations: 19.74 MB / 0.5715 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002676/0.5357, allocations: 75.06 kB / 0.5716 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/0.5372, allocations: 271 kB / 0.5718 GB, free: 3.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00559/0.5428, allocations: 3.151 MB / 0.5749 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04101/0.5839, allocations: 15.85 MB / 0.5904 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.103/0.6869, allocations: 64.03 MB / 0.6529 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/0.7068, allocations: 6.323 MB / 0.6591 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004284/0.7112, allocations: 2.046 MB / 0.6611 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/0.7329, allocations: 9.174 MB / 0.6701 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.499e-05/0.733, allocations: 67.41 kB / 0.6701 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 5.771e-06/0.733, allocations: 0 / 0.6701 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.06976/0.8028, allocations: 21.38 MB / 0.691 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.8029, allocations: 154.5 kB / 0.6911 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/0.8172, allocations: 5.773 MB / 0.6968 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000676/0.8179, allocations: 69.7 kB / 0.6968 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005764/0.8237, allocations: 4.835 MB / 0.7016 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.8257, allocations: 1.117 MB / 0.7027 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004891/0.8306, allocations: 1.804 MB / 0.7044 GB, free: 10.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8308, allocations: 311.1 kB / 0.7047 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/0.8359, allocations: 2.606 MB / 0.7073 GB, free: 7.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2314/1.067, allocations: 8.162 MB / 0.7152 GB, free: 182.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/1.083, allocations: 11.72 MB / 0.7267 GB, free: 173 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003031/1.083, allocations: 55.81 kB / 0.7267 GB, free: 173 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02317/1.106, allocations: 10.48 MB / 0.737 GB, free: 169.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/1.106, allocations: 89.36 kB / 0.737 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004147/1.107, allocations: 197.4 kB / 0.7372 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/1.107, allocations: 265 kB / 0.7375 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007758/1.115, allocations: 2.194 MB / 0.7396 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004465/1.115, allocations: 388.7 kB / 0.74 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007151/1.123, allocations: 456.1 kB / 0.7404 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/1.124, allocations: 0.5432 MB / 0.741 GB, free: 168.7 MB / 0.545 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.00628/1.131, allocations: 3.146 MB / 0.744 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008727/1.132, allocations: 0.5139 MB / 0.7445 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004814/1.136, allocations: 2.986 MB / 0.7475 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.885e-05/1.136, allocations: 33.27 kB / 0.7475 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.136, allocations: 0 / 0.7475 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/1.136, allocations: 17.2 kB / 0.7475 GB, free: 166.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/1.157, allocations: 12.29 MB / 0.7595 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/1.157, allocations: 37.38 kB / 0.7595 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.159, allocations: 0.5377 MB / 0.7601 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.205e-05/1.159, allocations: 44 kB / 0.7601 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.159, allocations: 95.69 kB / 0.7602 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-05/1.159, allocations: 67.3 kB / 0.7603 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/1.159, allocations: 47.81 kB / 0.7603 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/1.164, allocations: 5.609 MB / 0.7658 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.166, allocations: 0.5787 MB / 0.7664 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/1.166, allocations: 103.1 kB / 0.7665 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/1.168, allocations: 138.2 kB / 0.7666 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.168, allocations: 272.7 kB / 0.7668 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.169, allocations: 119.6 kB / 0.767 GB, free: 153.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00501/1.174, allocations: 3.587 MB / 0.7705 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/1.174, allocations: 0 / 0.7705 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00824/1.182, allocations: 1.405 MB / 0.7718 GB, free: 149.2 MB / 0.545 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.006601/1.189, allocations: 6.328 MB / 0.778 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01094/1.2, allocations: 6.544 MB / 0.7844 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.87e-05/1.2, allocations: 4 kB / 0.7844 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.202, allocations: 1.373 MB / 0.7857 GB, free: 135.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.206, allocations: 0.757 MB / 0.7865 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09846/1.305, allocations: 81.13 MB / 0.8657 GB, free: 40.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008026/1.313, allocations: 4.76 MB / 0.8704 GB, free: 36.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007827/1.321, allocations: 2.571 MB / 0.8729 GB, free: 33.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005279/1.326, allocations: 3.19 MB / 0.876 GB, free: 30.39 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/1.326, allocations: 0 / 0.876 GB, free: 30.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/1.732, allocations: 98.39 MB / 0.9721 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/13.14, allocations: 11.81 kB / 0.9721 GB, free: 175.2 MB / 0.5606 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)