Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 93 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2967/0.2967, allocations: 43.48 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.855e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4093, allocations: 58.85 MB / 477.2 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.6556, allocations: 107.7 MB / 0.5712 GB, free: 7.512 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.656, allocations: 83.45 kB / 0.5713 GB, free: 7.434 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9344/1.59, allocations: 142.8 MB / 0.7107 GB, free: 95.66 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.185e-06/1.591, allocations: 0 / 0.7107 GB, free: 95.66 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004024/1.591, allocations: 155.1 kB / 0.7109 GB, free: 95.65 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02504/1.616, allocations: 6.619 MB / 0.7173 GB, free: 90.64 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.616, allocations: 8.031 kB / 0.7173 GB, free: 90.63 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02918/1.645, allocations: 3.629 MB / 0.7209 GB, free: 86.98 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02643/1.672, allocations: 7.67 MB / 0.7284 GB, free: 79.32 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005961/1.672, allocations: 260 kB / 0.7286 GB, free: 79.06 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/1.677, allocations: 475.8 kB / 0.7291 GB, free: 78.6 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02973/1.707, allocations: 11.4 MB / 0.7402 GB, free: 67.19 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/1.751, allocations: 16.61 MB / 0.7564 GB, free: 48.97 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005359/1.752, allocations: 99.14 kB / 0.7565 GB, free: 48.88 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004296/1.756, allocations: 48 kB / 0.7566 GB, free: 48.83 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005692/1.762, allocations: 1.94 MB / 0.7585 GB, free: 46.89 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4956/2.258, allocations: 77.28 MB / 0.8339 GB, free: 112.1 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/2.266, allocations: 3.448 MB / 0.8373 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005337/2.271, allocations: 1.927 MB / 0.8392 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002481/2.274, allocations: 1.777 MB / 0.8409 GB, free: 109.9 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.685e-05/2.274, allocations: 68.19 kB / 0.841 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=303): time 7.444e-06/2.274, allocations: 0.8438 kB / 0.841 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=331): time 0.07438/2.349, allocations: 16.65 MB / 0.8572 GB, free: 105.6 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/2.349, allocations: 162 kB / 0.8574 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/2.359, allocations: 4.445 MB / 0.8617 GB, free: 105 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0007479/2.36, allocations: 28.7 kB / 0.8618 GB, free: 105 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004459/2.364, allocations: 5.187 MB / 0.8668 GB, free: 101.8 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.00197/2.366, allocations: 1.218 MB / 0.868 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/2.367, allocations: 2.953 kB / 0.868 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0006864/2.368, allocations: 0.7307 MB / 0.8687 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006343/2.374, allocations: 2.511 MB / 0.8712 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.385, allocations: 8.41 MB / 0.8794 GB, free: 93.06 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/2.396, allocations: 4.534 MB / 0.8838 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002883/2.396, allocations: 59.75 kB / 0.8839 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.02705/2.423, allocations: 9.554 MB / 0.8932 GB, free: 89.6 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/2.423, allocations: 103.2 kB / 0.8933 GB, free: 89.6 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003114/2.424, allocations: 210.3 kB / 0.8935 GB, free: 89.6 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/2.424, allocations: 311.8 kB / 0.8938 GB, free: 89.6 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01506/2.439, allocations: 2.439 MB / 0.8962 GB, free: 89.31 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004152/2.44, allocations: 415.7 kB / 0.8966 GB, free: 89.22 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.451, allocations: 426.9 kB / 0.897 GB, free: 89.2 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002492/2.454, allocations: 0.5821 MB / 0.8976 GB, free: 89.12 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 72 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1283 * 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.00343/2.457, allocations: 0.6346 MB / 0.8982 GB, free: 88.61 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008301/2.466, allocations: 3.179 MB / 0.9013 GB, free: 87.4 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001709/2.467, allocations: 0.4938 MB / 0.9018 GB, free: 87.12 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008604/2.476, allocations: 2.927 MB / 0.9046 GB, free: 86.01 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/2.476, allocations: 37.75 kB / 0.9047 GB, free: 86.01 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/2.476, allocations: 1.219 kB / 0.9047 GB, free: 86.01 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.856e-05/2.476, allocations: 17.75 kB / 0.9047 GB, free: 86.01 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0346/2.511, allocations: 11.74 MB / 0.9162 GB, free: 81.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-05/2.511, allocations: 32 kB / 0.9162 GB, free: 81.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004559/2.515, allocations: 0.5978 MB / 0.9168 GB, free: 80.59 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.473e-05/2.516, allocations: 55.83 kB / 0.9168 GB, free: 80.54 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004654/2.516, allocations: 59.59 kB / 0.9169 GB, free: 80.48 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-05/2.516, allocations: 66.17 kB / 0.9169 GB, free: 80.43 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-05/2.516, allocations: 47.81 kB / 0.917 GB, free: 80.38 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/2.528, allocations: 10.47 MB / 0.9272 GB, free: 69.12 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003294/2.531, allocations: 0.7801 MB / 0.928 GB, free: 68.39 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001478/2.532, allocations: 51.59 kB / 0.928 GB, free: 68.34 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004983/2.537, allocations: 146.5 kB / 0.9282 GB, free: 68.24 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008158/2.538, allocations: 294.5 kB / 0.9285 GB, free: 68.02 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002972/2.539, allocations: 131.6 kB / 0.9286 GB, free: 67.89 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007085/2.546, allocations: 2.902 MB / 0.9314 GB, free: 65.39 MB / 0.4952 GB Notification: Performance of sort global known variables: time 9.32e-07/2.546, allocations: 0 / 0.9314 GB, free: 65.39 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0127/2.559, allocations: 1.33 MB / 0.9327 GB, free: 64.07 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (312): * Single equations (assignments): 309 * 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.01467/2.573, allocations: 17.96 MB / 0.9503 GB, free: 45.48 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01375/2.587, allocations: 5.786 MB / 0.9559 GB, free: 40.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.259e-05/2.587, allocations: 4 kB / 0.9559 GB, free: 40.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003377/2.591, allocations: 1.424 MB / 0.9573 GB, free: 38.9 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/2.596, allocations: 0.5365 MB / 0.9578 GB, free: 38.45 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0551/2.651, allocations: 15.58 MB / 0.973 GB, free: 24.52 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/2.665, allocations: 5.284 MB / 0.9782 GB, free: 20.64 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008265/2.673, allocations: 3.554 MB / 0.9817 GB, free: 17.34 MB / 0.4952 GB Notification: Performance of SimCode: time 1.403e-06/2.673, allocations: 0 / 0.9817 GB, free: 17.34 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.095/7.768, allocations: 125.5 MB / 1.104 GB, free: 102.4 MB / 0.5265 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat