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.001264/0.001264, allocations: 103.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001364/0.001365, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2297/0.2297, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.00224/0.00224, allocations: 81.48 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1255, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01944/0.145, allocations: 16.08 MB / 496.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.1568, allocations: 4.993 MB / 0.4895 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.1599, allocations: 99.75 kB / 0.4896 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01014/0.1701, allocations: 5.152 MB / 0.4947 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007518/0.1777, allocations: 2.47 MB / 0.4971 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.1807, allocations: 1.182 MB / 0.4982 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01016/0.1908, allocations: 6.657 MB / 0.5047 GB, free: 376 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2271/0.418, allocations: 6.341 MB / 0.5109 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/0.4244, allocations: 2.582 MB / 0.5134 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008632/0.4331, allocations: 3.67 MB / 0.517 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00405/0.4372, allocations: 0.5701 MB / 0.5176 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00639/0.4436, allocations: 1.273 MB / 0.5188 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007664/0.4513, allocations: 3.204 MB / 0.5219 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.4619, allocations: 3.672 MB / 0.5255 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.48, allocations: 10.73 MB / 0.536 GB, free: 4.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.4801, allocations: 4 kB / 0.536 GB, free: 4.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4801, allocations: 0 / 0.536 GB, free: 4.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005139/0.4807, allocations: 0 / 0.536 GB, free: 4.047 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.02905/0.5097, allocations: 7.612 MB / 0.5435 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5098, allocations: 10.56 kB / 0.5435 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005608/0.5154, allocations: 1.182 MB / 0.5446 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02053/0.536, allocations: 2.623 MB / 0.5472 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.5465, allocations: 4.19 MB / 0.5513 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003981/0.5469, allocations: 433.2 kB / 0.5517 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001848/0.5488, allocations: 0.5492 MB / 0.5522 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04728/0.5961, allocations: 19.74 MB / 0.5715 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/0.5964, allocations: 70.66 kB / 0.5716 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.598, allocations: 267.7 kB / 0.5718 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005497/0.6035, allocations: 3.161 MB / 0.5749 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/0.6433, allocations: 15.85 MB / 0.5904 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09518/0.7385, allocations: 64.02 MB / 0.6529 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01961/0.7581, allocations: 6.335 MB / 0.6591 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004218/0.7624, allocations: 2.044 MB / 0.6611 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01879/0.7812, allocations: 9.175 MB / 0.67 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.484e-05/0.7813, allocations: 71.11 kB / 0.6701 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 5.611e-06/0.7813, allocations: 0 / 0.6701 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.06749/0.8488, allocations: 21.37 MB / 0.691 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.849, allocations: 169.4 kB / 0.6911 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/0.8593, allocations: 5.773 MB / 0.6968 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/0.8599, allocations: 73.7 kB / 0.6969 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004376/0.8642, allocations: 4.829 MB / 0.7016 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/0.8659, allocations: 1.118 MB / 0.7027 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002906/0.8688, allocations: 1.8 MB / 0.7044 GB, free: 10.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.869, allocations: 305.1 kB / 0.7047 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004643/0.8736, allocations: 2.614 MB / 0.7073 GB, free: 7.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2295/1.103, allocations: 8.163 MB / 0.7152 GB, free: 182.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.117, allocations: 11.72 MB / 0.7267 GB, free: 173.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002438/1.117, allocations: 56.56 kB / 0.7267 GB, free: 173.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02146/1.139, allocations: 10.47 MB / 0.737 GB, free: 169.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/1.139, allocations: 90.22 kB / 0.737 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005075/1.14, allocations: 196.6 kB / 0.7372 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/1.14, allocations: 260 kB / 0.7375 GB, free: 169.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008468/1.149, allocations: 2.198 MB / 0.7396 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004611/1.149, allocations: 392.6 kB / 0.74 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/1.156, allocations: 458.6 kB / 0.7404 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/1.158, allocations: 0.5423 MB / 0.741 GB, free: 168.8 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.006522/1.165, allocations: 3.144 MB / 0.744 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009899/1.166, allocations: 0.5073 MB / 0.7445 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/1.17, allocations: 2.992 MB / 0.7475 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.17, allocations: 39 kB / 0.7475 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.17, allocations: 0 / 0.7475 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.17, allocations: 22.05 kB / 0.7475 GB, free: 166.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02008/1.19, allocations: 12.28 MB / 0.7595 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/1.191, allocations: 33.31 kB / 0.7595 GB, free: 160.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.192, allocations: 0.5436 MB / 0.7601 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.494e-05/1.193, allocations: 44.38 kB / 0.7601 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/1.193, allocations: 100.1 kB / 0.7602 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.211e-05/1.193, allocations: 59.52 kB / 0.7603 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.115e-05/1.193, allocations: 47.81 kB / 0.7603 GB, free: 160 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/1.199, allocations: 5.611 MB / 0.7658 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.201, allocations: 0.5784 MB / 0.7663 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/1.202, allocations: 99.53 kB / 0.7664 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.205, allocations: 137.7 kB / 0.7666 GB, free: 153.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003899/1.205, allocations: 271.8 kB / 0.7668 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.205, allocations: 124.9 kB / 0.767 GB, free: 153.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006215/1.211, allocations: 3.586 MB / 0.7705 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.41e-07/1.211, allocations: 0 / 0.7705 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009282/1.221, allocations: 1.407 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.007127/1.228, allocations: 6.31 MB / 0.778 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.239, allocations: 6.552 MB / 0.7844 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.977e-05/1.239, allocations: 4.125 kB / 0.7844 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.242, allocations: 1.37 MB / 0.7857 GB, free: 135.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006715/1.248, allocations: 0.7723 MB / 0.7865 GB, free: 135.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0945/1.343, allocations: 81.14 MB / 0.8657 GB, free: 40.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004823/1.348, allocations: 4.752 MB / 0.8704 GB, free: 36.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006338/1.354, allocations: 2.575 MB / 0.8729 GB, free: 33.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00361/1.358, allocations: 3.19 MB / 0.876 GB, free: 30.27 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/1.358, allocations: 0 / 0.876 GB, free: 30.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3784/1.736, allocations: 98.39 MB / 0.9721 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/12.86, allocations: 12.91 kB / 0.9721 GB, free: 175.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1)