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.001296/0.001296, allocations: 122.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.001303/0.001303, allocations: 202 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.39/1.39, 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.2241/0.2241, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.00222/0.00222, allocations: 79.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.32, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0177/0.3378, allocations: 16.1 MB / 0.5463 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.349, allocations: 4.97 MB / 0.5512 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.3521, allocations: 103.7 kB / 0.5513 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01026/0.3624, allocations: 5.167 MB / 0.5563 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007948/0.3704, allocations: 2.462 MB / 0.5587 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3734, allocations: 1.178 MB / 0.5599 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.3836, allocations: 6.661 MB / 0.5664 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008061/0.3917, allocations: 6.331 MB / 0.5726 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.3962, allocations: 2.594 MB / 0.5751 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005512/0.4017, allocations: 3.661 MB / 0.5787 GB, free: 304 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.4037, allocations: 0.5743 MB / 0.5792 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.407, allocations: 1.272 MB / 0.5805 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.4116, allocations: 3.203 MB / 0.5836 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006611/0.4182, allocations: 3.67 MB / 0.5872 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.4344, allocations: 11.16 MB / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.4345, allocations: 0 / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4345, allocations: 0 / 0.5981 GB, free: 12.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004716/0.435, 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.01971/0.4547, allocations: 7.808 MB / 0.6057 GB, free: 4.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4547, allocations: 8.031 kB / 0.6057 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002937/0.4577, allocations: 1.19 MB / 0.6069 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.4688, allocations: 2.668 MB / 0.6095 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008555/0.4774, allocations: 4.272 MB / 0.6137 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.4778, allocations: 435 kB / 0.6141 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.4795, allocations: 0.5544 MB / 0.6146 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04292/0.5224, allocations: 19.74 MB / 0.6339 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002722/0.5227, allocations: 75.44 kB / 0.634 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.5244, allocations: 267.8 kB / 0.6342 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005543/0.53, allocations: 3.153 MB / 0.6373 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03954/0.5695, allocations: 15.85 MB / 0.6528 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08472/0.6543, allocations: 63.86 MB / 0.7151 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4431/1.097, allocations: 6.332 MB / 0.7213 GB, free: 160.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/1.101, allocations: 2.082 MB / 0.7234 GB, free: 160.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/1.114, allocations: 9.194 MB / 0.7323 GB, free: 157.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/1.114, allocations: 64.62 kB / 0.7324 GB, free: 157 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.311e-06/1.114, allocations: 0 / 0.7324 GB, free: 157 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05011/1.165, allocations: 21.75 MB / 0.7536 GB, free: 141.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/1.165, allocations: 166.2 kB / 0.7538 GB, free: 141.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/1.17, allocations: 5.788 MB / 0.7595 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000328/1.171, allocations: 65.7 kB / 0.7595 GB, free: 136 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/1.172, allocations: 5.041 MB / 0.7644 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/1.173, allocations: 1.161 MB / 0.7656 GB, free: 130.1 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/1.175, allocations: 1.814 MB / 0.7673 GB, free: 128.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.435e-05/1.175, allocations: 301.1 kB / 0.7676 GB, free: 128 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/1.178, allocations: 2.61 MB / 0.7702 GB, free: 125.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004627/1.182, allocations: 8.172 MB / 0.7782 GB, free: 114.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009602/1.192, allocations: 11.72 MB / 0.7896 GB, free: 100 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.192, allocations: 56 kB / 0.7897 GB, free: 99.99 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01501/1.207, allocations: 10.5 MB / 0.7999 GB, free: 89.48 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/1.207, allocations: 92 kB / 0.8 GB, free: 89.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.207, allocations: 196 kB / 0.8002 GB, free: 89.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/1.208, allocations: 260 kB / 0.8004 GB, free: 88.95 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/1.214, allocations: 2.203 MB / 0.8026 GB, free: 86.74 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002044/1.214, allocations: 386.5 kB / 0.803 GB, free: 86.36 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/1.219, allocations: 463.4 kB / 0.8034 GB, free: 85.91 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000874/1.22, allocations: 0.5351 MB / 0.8039 GB, free: 85.38 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.003952/1.224, allocations: 3.144 MB / 0.807 GB, free: 82.22 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.225, allocations: 0.5355 MB / 0.8075 GB, free: 81.68 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004039/1.229, allocations: 2.991 MB / 0.8104 GB, free: 78.67 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/1.229, allocations: 31.94 kB / 0.8105 GB, free: 78.64 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.229, allocations: 4 kB / 0.8105 GB, free: 78.64 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/1.229, allocations: 11.95 kB / 0.8105 GB, free: 78.62 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/1.245, allocations: 12.28 MB / 0.8225 GB, free: 65.88 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.948e-05/1.245, allocations: 32 kB / 0.8225 GB, free: 65.85 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.246, allocations: 0.5422 MB / 0.823 GB, free: 65.3 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/1.246, allocations: 44 kB / 0.8231 GB, free: 65.26 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.247, allocations: 91.98 kB / 0.8232 GB, free: 65.17 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-05/1.247, allocations: 64.66 kB / 0.8232 GB, free: 65.11 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/1.247, allocations: 51.75 kB / 0.8233 GB, free: 65.06 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.252, allocations: 5.643 MB / 0.8288 GB, free: 58.88 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/1.253, allocations: 0.6027 MB / 0.8294 GB, free: 58.26 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004586/1.254, allocations: 95.97 kB / 0.8295 GB, free: 58.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.255, allocations: 143.9 kB / 0.8296 GB, free: 58.02 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/1.256, allocations: 267.9 kB / 0.8299 GB, free: 57.76 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.256, allocations: 123.9 kB / 0.83 GB, free: 57.64 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004526/1.26, allocations: 3.586 MB / 0.8335 GB, free: 54.09 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.41e-07/1.26, allocations: 4 kB / 0.8335 GB, free: 54.09 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006677/1.267, allocations: 1.406 MB / 0.8349 GB, free: 52.68 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.005931/1.273, allocations: 6.362 MB / 0.8411 GB, free: 45.79 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007888/1.281, allocations: 6.034 MB / 0.847 GB, free: 39.79 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/1.281, allocations: 4 kB / 0.847 GB, free: 39.78 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001737/1.283, allocations: 1.372 MB / 0.8483 GB, free: 38.42 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/1.287, allocations: 0.7546 MB / 0.849 GB, free: 37.68 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0853/1.373, allocations: 67.65 MB / 0.9151 GB, free: 8 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/1.38, allocations: 4.76 MB / 0.9198 GB, free: 3.211 MB / 0.6076 GB Notification: Performance of simCode: alias equations: time 0.005932/1.386, allocations: 2.579 MB / 0.9223 GB, free: 0.625 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00482/1.391, allocations: 3.19 MB / 0.9254 GB, free: 13.46 MB / 0.6232 GB Notification: Performance of SimCode: time 1.512e-06/1.391, allocations: 0 / 0.9254 GB, free: 13.46 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3844/1.775, allocations: 92.6 MB / 1.016 GB, free: 177.7 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/23.56, allocations: 9.203 kB / 1.016 GB, free: 177.7 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 & /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)