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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 227.2 MB / 245 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 108.5 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3703/0.3703, allocations: 45.24 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 8 kB / 468.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3892, allocations: 63.25 MB / 0.5193 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1529/0.5421, allocations: 110.3 MB / 0.6269 GB, free: 11.33 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5425, allocations: 85.47 kB / 0.627 GB, free: 11.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.653/1.196, allocations: 144.4 MB / 0.7681 GB, free: 91.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.334e-06/1.196, allocations: 4 kB / 0.7681 GB, free: 91.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004783/1.196, allocations: 139.1 kB / 0.7682 GB, free: 91.8 MB / 0.4948 GB 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.02932/1.225, allocations: 6.651 MB / 0.7747 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.225, allocations: 14.94 kB / 0.7747 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007455/1.233, allocations: 1.309 MB / 0.776 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02566/1.259, allocations: 3.559 MB / 0.7795 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/1.282, allocations: 6.335 MB / 0.7857 GB, free: 83.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/1.283, allocations: 0.5708 MB / 0.7862 GB, free: 83.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005205/1.288, allocations: 0.7478 MB / 0.7869 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05957/1.348, allocations: 20.91 MB / 0.8074 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/1.348, allocations: 99.14 kB / 0.8075 GB, free: 65.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002255/1.351, allocations: 363.8 kB / 0.8078 GB, free: 65.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002531/1.353, allocations: 1.819 MB / 0.8096 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0378/1.391, allocations: 16.78 MB / 0.826 GB, free: 46.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.451/1.842, allocations: 77.08 MB / 0.9012 GB, free: 101 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/1.86, allocations: 6.169 MB / 0.9073 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01681/1.877, allocations: 9.221 MB / 0.9163 GB, free: 98.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/1.877, allocations: 69.25 kB / 0.9163 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=261): time 6.983e-06/1.877, allocations: 3.828 kB / 0.9163 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=295): time 0.05839/1.936, allocations: 20.74 MB / 0.9366 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/1.936, allocations: 161 kB / 0.9367 GB, free: 93.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.947, allocations: 5.248 MB / 0.9419 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.948, allocations: 67.95 kB / 0.9419 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004709/1.952, allocations: 4.96 MB / 0.9468 GB, free: 89.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001997/1.954, allocations: 1.13 MB / 0.9479 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008844/1.955, allocations: 189.1 kB / 0.9481 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006927/1.956, allocations: 0.6933 MB / 0.9487 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006181/1.962, allocations: 2.619 MB / 0.9513 GB, free: 89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009613/1.972, allocations: 8.169 MB / 0.9593 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/1.98, allocations: 4.495 MB / 0.9637 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002075/1.98, allocations: 61 kB / 0.9637 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.02375/2.004, allocations: 10.51 MB / 0.974 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004458/2.004, allocations: 89.38 kB / 0.9741 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005666/2.005, allocations: 197.7 kB / 0.9743 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005472/2.005, allocations: 298.7 kB / 0.9745 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/2.014, allocations: 2.232 MB / 0.9767 GB, free: 77.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004645/2.014, allocations: 385.5 kB / 0.9771 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008812/2.023, allocations: 0.5649 MB / 0.9776 GB, free: 76.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/2.025, allocations: 0.5372 MB / 0.9782 GB, free: 76.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1178): * Single equations (assignments): 1175 * 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.01022/2.035, allocations: 3.236 MB / 0.9813 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001908/2.037, allocations: 0.5248 MB / 0.9818 GB, free: 74.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007416/2.044, allocations: 2.892 MB / 0.9847 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-05/2.045, allocations: 36.22 kB / 0.9847 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.302e-05/2.045, allocations: 4 kB / 0.9847 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/2.045, allocations: 18.12 kB / 0.9847 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/2.077, allocations: 12.55 MB / 0.997 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001347/2.078, allocations: 37.97 kB / 0.997 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002249/2.08, allocations: 0.5265 MB / 0.9975 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/2.08, allocations: 51.62 kB / 0.9976 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/2.08, allocations: 90.81 kB / 0.9977 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/2.081, allocations: 74.36 kB / 0.9977 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-05/2.081, allocations: 49.58 kB / 0.9978 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/2.091, allocations: 11.32 MB / 1.009 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/2.095, allocations: 0.5986 MB / 1.009 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002186/2.097, allocations: 92.44 kB / 1.01 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004217/2.101, allocations: 185.2 kB / 1.01 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005516/2.102, allocations: 276.8 kB / 1.01 GB, free: 57.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003286/2.102, allocations: 121.8 kB / 1.01 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01063/2.113, allocations: 3.666 MB / 1.014 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/2.113, allocations: 0 / 1.014 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01258/2.125, allocations: 1.483 MB / 1.015 GB, free: 55.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 146 * 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 (273): * Single equations (assignments): 270 * 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.01262/2.138, allocations: 17.94 MB / 1.033 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01222/2.15, allocations: 5.932 MB / 1.038 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-05/2.15, allocations: 5.438 kB / 1.038 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/2.153, allocations: 1.341 MB / 1.04 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/2.159, allocations: 0.7187 MB / 1.04 GB, free: 31.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4023/2.561, allocations: 169.5 MB / 1.206 GB, free: 57.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.571, allocations: 5.023 MB / 1.211 GB, free: 56.85 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007727/2.579, allocations: 2.622 MB / 1.213 GB, free: 56.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005728/2.585, allocations: 3.251 MB / 1.217 GB, free: 56.79 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/2.585, allocations: 1.422 kB / 1.217 GB, free: 56.79 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1966/2.782, allocations: 106.2 MB / 1.32 GB, free: 7.512 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/2.782, allocations: 164.7 kB / 1.32 GB, free: 7.273 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/9.723, allocations: 0 / 1.32 GB, free: 7.273 MB / 0.573 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