Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_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.001104/0.001104, allocations: 184 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009923/0.0009922, allocations: 98.77 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2367/0.2367, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003432, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.53, allocations: 108.5 MB / 0.5848 GB, free: 7.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5303, allocations: 82.09 kB / 0.5849 GB, free: 7.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6601/1.19, allocations: 146.1 MB / 0.7276 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.667e-06/1.19, allocations: 0 / 0.7276 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000687/1.191, allocations: 145.6 kB / 0.7277 GB, free: 98.89 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.0262/1.217, allocations: 6.982 MB / 0.7346 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.217, allocations: 8.875 kB / 0.7346 GB, free: 95.97 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006597/1.224, allocations: 1.379 MB / 0.7359 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/1.241, allocations: 3.619 MB / 0.7395 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02235/1.264, allocations: 7.696 MB / 0.747 GB, free: 94.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007707/1.265, allocations: 0.5941 MB / 0.7475 GB, free: 94.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00435/1.269, allocations: 0.7928 MB / 0.7483 GB, free: 94.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05701/1.326, allocations: 21.79 MB / 0.7696 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008314/1.327, allocations: 96.5 kB / 0.7697 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004828/1.332, allocations: 389.1 kB / 0.7701 GB, free: 90.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004286/1.336, allocations: 1.942 MB / 0.772 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04125/1.377, allocations: 17.63 MB / 0.7892 GB, free: 87.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08921/1.467, allocations: 79.59 MB / 0.8669 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/1.484, allocations: 6.552 MB / 0.8733 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01897/1.503, allocations: 9.887 MB / 0.883 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/1.503, allocations: 72.5 kB / 0.883 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=300): time 6.172e-06/1.503, allocations: 0 / 0.883 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.3502/1.853, allocations: 22.44 MB / 0.9049 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/1.853, allocations: 162.8 kB / 0.9051 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.864, allocations: 5.425 MB / 0.9104 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000596/1.865, allocations: 76.95 kB / 0.9105 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003935/1.869, allocations: 5.189 MB / 0.9155 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.87, allocations: 1.262 MB / 0.9168 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006652/1.871, allocations: 201.9 kB / 0.917 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005791/1.872, allocations: 0.7114 MB / 0.9177 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005602/1.877, allocations: 2.847 MB / 0.9204 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008462/1.886, allocations: 8.588 MB / 0.9288 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00806/1.894, allocations: 4.813 MB / 0.9335 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002999/1.894, allocations: 60.03 kB / 0.9336 GB, free: 95.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.02343/1.918, allocations: 11.22 MB / 0.9445 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/1.918, allocations: 89.12 kB / 0.9446 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002792/1.918, allocations: 203.7 kB / 0.9448 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/1.918, allocations: 303.3 kB / 0.9451 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007992/1.926, allocations: 2.381 MB / 0.9474 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003985/1.927, allocations: 403.8 kB / 0.9478 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009473/1.936, allocations: 0.5964 MB / 0.9484 GB, free: 93.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002238/1.939, allocations: 0.5686 MB / 0.949 GB, free: 93.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1253): * Single equations (assignments): 1250 * 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.008845/1.948, allocations: 3.383 MB / 0.9523 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.949, allocations: 0.5465 MB / 0.9528 GB, free: 93.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006615/1.956, allocations: 3.394 MB / 0.9561 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/1.956, allocations: 36.09 kB / 0.9561 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/1.956, allocations: 3.266 kB / 0.9561 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/1.956, allocations: 13.27 kB / 0.9562 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03018/1.986, allocations: 13.89 MB / 0.9697 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/1.986, allocations: 32.94 kB / 0.9698 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.988, allocations: 0.6078 MB / 0.9703 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-05/1.988, allocations: 53.31 kB / 0.9704 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/1.989, allocations: 103.8 kB / 0.9705 GB, free: 87.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/1.989, allocations: 72.75 kB / 0.9706 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-05/1.989, allocations: 53.39 kB / 0.9706 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01108/2, allocations: 12.49 MB / 0.9828 GB, free: 75.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/2.003, allocations: 0.8552 MB / 0.9837 GB, free: 75.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/2.005, allocations: 103.2 kB / 0.9837 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/2.008, allocations: 203.7 kB / 0.9839 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/2.008, allocations: 300.2 kB / 0.9842 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/2.008, allocations: 133 kB / 0.9844 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006509/2.015, allocations: 3.795 MB / 0.9881 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-07/2.015, allocations: 7.75 kB / 0.9881 GB, free: 73.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01154/2.026, allocations: 1.585 MB / 0.9896 GB, free: 73.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 152 * 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 (315): * Single equations (assignments): 312 * 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.01363/2.04, allocations: 19.2 MB / 1.008 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01395/2.054, allocations: 6.46 MB / 1.015 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.003e-05/2.054, allocations: 3.969 kB / 1.015 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/2.058, allocations: 1.559 MB / 1.016 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007411/2.065, allocations: 0.728 MB / 1.017 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3307/2.396, allocations: 176.3 MB / 1.189 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01142/2.407, allocations: 5.286 MB / 1.194 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008926/2.416, allocations: 2.779 MB / 1.197 GB, free: 33.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005331/2.422, allocations: 3.448 MB / 1.2 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/2.422, allocations: 0 / 1.2 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4714/2.893, allocations: 112.4 MB / 1.31 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/2.893, allocations: 165.5 kB / 1.31 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/10.19, allocations: 0 / 1.31 GB, free: 106.2 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat