Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_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.001073/0.001072, allocations: 99.91 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 197.3 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3721/0.5054, allocations: 78.36 MB / 0.5469 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0416/0.547, allocations: 15.82 MB / 0.5623 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02317/0.5702, allocations: 365.3 kB / 0.5627 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01551/0.5858, allocations: 4.143 MB / 0.5667 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03826/0.6241, allocations: 11.96 MB / 0.5784 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008424/0.6325, allocations: 1.066 MB / 0.5794 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.6447, allocations: 7.903 MB / 0.5872 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.659, allocations: 8.379 MB / 0.5953 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.6646, allocations: 2.036 MB / 0.5973 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006312/0.6709, allocations: 3.338 MB / 0.6006 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001762/0.6727, allocations: 252 kB / 0.6008 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.6759, allocations: 0.8544 MB / 0.6017 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.6794, allocations: 2.879 MB / 0.6045 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002973/0.6824, allocations: 1.341 MB / 0.6058 GB, free: 8.707 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.6942, allocations: 8.802 MB / 0.6144 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.6943, allocations: 0 / 0.6144 GB, free: 15.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6943, allocations: 0 / 0.6144 GB, free: 15.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004539/0.6948, allocations: 0 / 0.6144 GB, free: 15.89 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01441/0.7092, allocations: 6.418 MB / 0.6207 GB, free: 9.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.7092, allocations: 8.031 kB / 0.6207 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003819/0.7131, allocations: 1.231 MB / 0.6219 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.7243, allocations: 2.751 MB / 0.6245 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009364/0.7337, allocations: 4.193 MB / 0.6286 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005209/0.7343, allocations: 435.1 kB / 0.6291 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002872/0.7371, allocations: 0.5737 MB / 0.6296 GB, free: 116 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/0.7787, allocations: 20.34 MB / 0.6495 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002116/0.7789, allocations: 71.39 kB / 0.6495 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008473/0.7798, allocations: 279.7 kB / 0.6498 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004783/0.7846, allocations: 3.333 MB / 0.6531 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03688/0.8215, allocations: 16.33 MB / 0.669 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6113/1.433, allocations: 65.27 MB / 0.7328 GB, free: 138.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.453, allocations: 6.357 MB / 0.739 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004194/1.457, allocations: 2.049 MB / 0.741 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01575/1.473, allocations: 9.214 MB / 0.75 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/1.473, allocations: 62.92 kB / 0.75 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 6.121e-06/1.473, allocations: 0 / 0.75 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05891/1.532, allocations: 21.72 MB / 0.7712 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/1.532, allocations: 158.5 kB / 0.7714 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009676/1.542, allocations: 5.828 MB / 0.7771 GB, free: 115.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004925/1.542, allocations: 65.7 kB / 0.7771 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002802/1.545, allocations: 4.962 MB / 0.782 GB, free: 110.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001361/1.546, allocations: 1.117 MB / 0.7831 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/1.547, allocations: 188.9 kB / 0.7833 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0005998/1.548, allocations: 0.6946 MB / 0.7839 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/1.552, allocations: 2.603 MB / 0.7865 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006934/1.559, allocations: 8.214 MB / 0.7945 GB, free: 95.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/1.566, allocations: 4.474 MB / 0.7989 GB, free: 90.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002851/1.567, allocations: 59.95 kB / 0.7989 GB, free: 90.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01818/1.585, allocations: 10.51 MB / 0.8092 GB, free: 80.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/1.585, allocations: 88 kB / 0.8093 GB, free: 80.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003847/1.585, allocations: 203.9 kB / 0.8095 GB, free: 79.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003129/1.586, allocations: 292 kB / 0.8098 GB, free: 79.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006724/1.593, allocations: 2.211 MB / 0.8119 GB, free: 77.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000341/1.593, allocations: 390.5 kB / 0.8123 GB, free: 76.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/1.599, allocations: 471.4 kB / 0.8127 GB, free: 76.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/1.601, allocations: 0.5461 MB / 0.8133 GB, free: 75.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1180): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00609/1.607, allocations: 3.234 MB / 0.8164 GB, free: 72.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.608, allocations: 0.5206 MB / 0.8169 GB, free: 72.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/1.614, allocations: 3.012 MB / 0.8199 GB, free: 69.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.98e-05/1.614, allocations: 32 kB / 0.8199 GB, free: 69.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/1.614, allocations: 4 kB / 0.8199 GB, free: 69.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/1.614, allocations: 11.95 kB / 0.8199 GB, free: 69.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02514/1.639, allocations: 12.53 MB / 0.8322 GB, free: 56.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.524e-05/1.639, allocations: 32.19 kB / 0.8322 GB, free: 56.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.641, allocations: 0.5538 MB / 0.8327 GB, free: 55.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.948e-05/1.641, allocations: 48 kB / 0.8328 GB, free: 55.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/1.641, allocations: 93.62 kB / 0.8329 GB, free: 55.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-05/1.641, allocations: 71.73 kB / 0.8329 GB, free: 55.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-05/1.641, allocations: 51.75 kB / 0.833 GB, free: 55.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/1.648, allocations: 5.631 MB / 0.8385 GB, free: 49.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.65, allocations: 0.5917 MB / 0.8391 GB, free: 48.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001282/1.651, allocations: 89.62 kB / 0.8391 GB, free: 48.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.654, allocations: 171.8 kB / 0.8393 GB, free: 48.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.654, allocations: 268 kB / 0.8396 GB, free: 47.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.654, allocations: 117.2 kB / 0.8397 GB, free: 47.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006493/1.661, allocations: 3.611 MB / 0.8432 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.661, allocations: 0 / 0.8432 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009087/1.67, allocations: 1.45 MB / 0.8446 GB, free: 42.78 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008316/1.678, allocations: 6.352 MB / 0.8508 GB, free: 35.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.689, allocations: 5.962 MB / 0.8566 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-05/1.689, allocations: 4 kB / 0.8566 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.692, allocations: 1.377 MB / 0.858 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/1.699, allocations: 0.7684 MB / 0.8587 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/1.8, allocations: 54.31 MB / 0.9118 GB, free: 15.19 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00958/1.81, allocations: 4.886 MB / 0.9165 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007685/1.818, allocations: 2.594 MB / 0.9191 GB, free: 7.684 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005167/1.823, allocations: 3.291 MB / 0.9223 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of SimCode: time 1.273e-06/1.823, allocations: 4 kB / 0.9223 GB, free: 4.387 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.421/2.244, allocations: 107.2 MB / 1.027 GB, free: 131.1 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/2.244, allocations: 175.3 kB / 1.027 GB, free: 130.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.218/7.463, allocations: 0 / 1.027 GB, free: 130.9 MB / 0.5763 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat