Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 223.2 MB / 241 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009973/0.0009972, allocations: 101.1 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3413/0.3413, allocations: 44.22 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 8 kB / 460 MB, free: 1.422 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3371, allocations: 61.89 MB / 0.5096 GB, free: 37.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4796, allocations: 109.4 MB / 0.6164 GB, free: 1.703 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4799, allocations: 79.94 kB / 0.6165 GB, free: 1.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6561/1.136, allocations: 140.6 MB / 0.7539 GB, free: 86.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.286e-06/1.136, allocations: 4 kB / 0.7539 GB, free: 86.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004153/1.136, allocations: 141.8 kB / 0.754 GB, free: 86.19 MB / 490.7 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.02004/1.157, allocations: 6.659 MB / 0.7605 GB, free: 81.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.157, allocations: 7.938 kB / 0.7605 GB, free: 81.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005554/1.162, allocations: 1.305 MB / 0.7618 GB, free: 80.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/1.18, allocations: 3.549 MB / 0.7652 GB, free: 79.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01884/1.198, allocations: 7.098 MB / 0.7722 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/1.199, allocations: 0.5735 MB / 0.7727 GB, free: 73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/1.203, allocations: 0.7497 MB / 0.7735 GB, free: 72.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05095/1.254, allocations: 20.9 MB / 0.7939 GB, free: 49.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004092/1.255, allocations: 99.06 kB / 0.794 GB, free: 49.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002983/1.258, allocations: 363.8 kB / 0.7943 GB, free: 49.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/1.261, allocations: 1.823 MB / 0.7961 GB, free: 47.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03515/1.296, allocations: 16.78 MB / 0.8125 GB, free: 30.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4638/1.76, allocations: 77.07 MB / 0.8878 GB, free: 57.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01559/1.775, allocations: 6.174 MB / 0.8938 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/1.791, allocations: 9.213 MB / 0.9028 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.791, allocations: 62.81 kB / 0.9028 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=261): time 5.491e-06/1.791, allocations: 0 / 0.9028 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=295): time 0.06519/1.856, allocations: 20.76 MB / 0.9231 GB, free: 49.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/1.856, allocations: 165 kB / 0.9233 GB, free: 49.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009261/1.866, allocations: 5.249 MB / 0.9284 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005823/1.866, allocations: 72.72 kB / 0.9285 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.869, allocations: 4.955 MB / 0.9333 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.871, allocations: 1.127 MB / 0.9344 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/1.871, allocations: 186.2 kB / 0.9346 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004063/1.872, allocations: 0.6925 MB / 0.9353 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/1.876, allocations: 2.62 MB / 0.9378 GB, free: 45.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006733/1.883, allocations: 8.159 MB / 0.9458 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006852/1.89, allocations: 4.5 MB / 0.9502 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.89, allocations: 56.25 kB / 0.9502 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.01979/1.91, allocations: 10.52 MB / 0.9605 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.91, allocations: 87.72 kB / 0.9606 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002219/1.91, allocations: 198.3 kB / 0.9608 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/1.91, allocations: 287.5 kB / 0.9611 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00727/1.918, allocations: 2.241 MB / 0.9633 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003431/1.918, allocations: 389.9 kB / 0.9636 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009202/1.927, allocations: 0.5761 MB / 0.9642 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.929, allocations: 0.535 MB / 0.9647 GB, free: 32.91 MB / 0.5105 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.009531/1.939, allocations: 3.228 MB / 0.9679 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.94, allocations: 0.517 MB / 0.9684 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/1.946, allocations: 2.896 MB / 0.9712 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/1.947, allocations: 35.66 kB / 0.9712 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.947, allocations: 0 / 0.9712 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.58e-05/1.947, allocations: 15.75 kB / 0.9712 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.975, allocations: 12.56 MB / 0.9835 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.687e-05/1.975, allocations: 32.19 kB / 0.9835 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.977, allocations: 0.5325 MB / 0.9841 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.021e-05/1.977, allocations: 55.39 kB / 0.9841 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/1.978, allocations: 86.67 kB / 0.9842 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.125e-05/1.978, allocations: 73.16 kB / 0.9843 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/1.978, allocations: 47.81 kB / 0.9843 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007426/1.985, allocations: 11.32 MB / 0.9954 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002007/1.987, allocations: 0.5942 MB / 0.9959 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/1.988, allocations: 94.31 kB / 0.996 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.992, allocations: 185.5 kB / 0.9962 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.992, allocations: 279.4 kB / 0.9965 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.992, allocations: 115.9 kB / 0.9966 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007757/2, allocations: 3.666 MB / 1 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/2, allocations: 0 / 1 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01068/2.011, allocations: 1.483 MB / 1.002 GB, free: 3.262 MB / 0.5105 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.01448/2.025, allocations: 17.93 MB / 1.019 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01281/2.038, allocations: 5.953 MB / 1.025 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.039e-05/2.038, allocations: 9.562 kB / 1.025 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/2.041, allocations: 1.341 MB / 1.026 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/2.046, allocations: 0.7077 MB / 1.027 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3956/2.442, allocations: 169.5 MB / 1.192 GB, free: 96.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/2.449, allocations: 5.012 MB / 1.197 GB, free: 95.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007541/2.457, allocations: 2.629 MB / 1.2 GB, free: 95.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005504/2.462, allocations: 3.246 MB / 1.203 GB, free: 95.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.293e-06/2.462, allocations: 1.094 kB / 1.203 GB, free: 95.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/2.651, allocations: 106.2 MB / 1.307 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.651, allocations: 169 kB / 1.307 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/9.285, allocations: 0 / 1.307 GB, free: 40.55 MB / 0.6042 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat