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.002229/0.002235, allocations: 185.7 kB / 16.4 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001248/0.001248, allocations: 85.61 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5214/0.5214, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.0006279, allocations: 8 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.132, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.6464, allocations: 108.5 MB / 0.5848 GB, free: 9.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.6467, allocations: 82.86 kB / 0.5849 GB, free: 9.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9606/1.607, allocations: 146.1 MB / 0.7276 GB, free: 85.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.066e-06/1.607, allocations: 0 / 0.7276 GB, free: 85.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003954/1.608, allocations: 149.5 kB / 0.7277 GB, free: 85.29 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02771/1.636, allocations: 6.966 MB / 0.7345 GB, free: 82.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.636, allocations: 10.69 kB / 0.7345 GB, free: 82.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006832/1.642, allocations: 1.379 MB / 0.7359 GB, free: 82.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/1.672, allocations: 3.626 MB / 0.7394 GB, free: 81.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02666/1.699, allocations: 7.703 MB / 0.7469 GB, free: 79.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008603/1.7, allocations: 0.6001 MB / 0.7475 GB, free: 79.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004735/1.705, allocations: 0.7867 MB / 0.7483 GB, free: 79.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07766/1.782, allocations: 21.79 MB / 0.7696 GB, free: 69.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006652/1.783, allocations: 96.86 kB / 0.7697 GB, free: 69.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004508/1.788, allocations: 382 kB / 0.77 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005482/1.793, allocations: 1.946 MB / 0.7719 GB, free: 69.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06657/1.86, allocations: 17.64 MB / 0.7892 GB, free: 56.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5588/2.419, allocations: 79.58 MB / 0.8669 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03166/2.45, allocations: 6.55 MB / 0.8733 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/2.48, allocations: 9.889 MB / 0.8829 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.205e-05/2.48, allocations: 67.09 kB / 0.883 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=300): time 7.424e-06/2.48, allocations: 1.422 kB / 0.883 GB, free: 39.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.1103/2.59, allocations: 22.45 MB / 0.9049 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/2.59, allocations: 168.8 kB / 0.9051 GB, free: 33.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0172/2.608, allocations: 5.425 MB / 0.9104 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008243/2.608, allocations: 71.2 kB / 0.9104 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004968/2.613, allocations: 5.046 MB / 0.9154 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/2.615, allocations: 1.264 MB / 0.9166 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/2.617, allocations: 200.2 kB / 0.9168 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0008607/2.618, allocations: 0.7192 MB / 0.9175 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00957/2.627, allocations: 2.847 MB / 0.9203 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/2.642, allocations: 8.59 MB / 0.9287 GB, free: 21.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/2.655, allocations: 4.804 MB / 0.9334 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002488/2.655, allocations: 57.81 kB / 0.9334 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.03416/2.689, allocations: 11.03 MB / 0.9442 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/2.69, allocations: 92.16 kB / 0.9443 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003814/2.69, allocations: 203.6 kB / 0.9445 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000334/2.69, allocations: 303.9 kB / 0.9448 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/2.706, allocations: 2.379 MB / 0.9471 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005169/2.706, allocations: 404.2 kB / 0.9475 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0128/2.719, allocations: 0.5951 MB / 0.948 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002491/2.722, allocations: 0.5739 MB / 0.9486 GB, free: 16.24 MB / 0.4948 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.01055/2.732, allocations: 3.393 MB / 0.9519 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/2.734, allocations: 0.5465 MB / 0.9525 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/2.746, allocations: 3.39 MB / 0.9558 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/2.746, allocations: 32.12 kB / 0.9558 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/2.746, allocations: 3.469 kB / 0.9558 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-05/2.746, allocations: 14.62 kB / 0.9558 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0417/2.788, allocations: 13.89 MB / 0.9694 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.059e-05/2.788, allocations: 39 kB / 0.9694 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004686/2.793, allocations: 0.601 MB / 0.97 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.232e-05/2.793, allocations: 54.09 kB / 0.9701 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004984/2.793, allocations: 99.66 kB / 0.9701 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.494e-05/2.793, allocations: 70.64 kB / 0.9702 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.628e-05/2.793, allocations: 55.94 kB / 0.9703 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/2.811, allocations: 12.48 MB / 0.9825 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003785/2.814, allocations: 0.8589 MB / 0.9833 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/2.816, allocations: 101.6 kB / 0.9834 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/2.822, allocations: 204.7 kB / 0.9836 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000964/2.823, allocations: 306.9 kB / 0.9839 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003911/2.823, allocations: 138.2 kB / 0.984 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01304/2.837, allocations: 3.795 MB / 0.9877 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.435e-06/2.837, allocations: 0 / 0.9877 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01345/2.85, allocations: 1.58 MB / 0.9893 GB, free: 6.344 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.02365/2.874, allocations: 19.2 MB / 1.008 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02048/2.894, allocations: 6.51 MB / 1.014 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.34e-05/2.894, allocations: 8.062 kB / 1.014 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004919/2.899, allocations: 1.553 MB / 1.016 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006679/2.906, allocations: 0.7197 MB / 1.017 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5135/3.42, allocations: 178.1 MB / 1.191 GB, free: 58.35 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01335/3.433, allocations: 5.29 MB / 1.196 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008448/3.441, allocations: 3.525 MB / 1.199 GB, free: 57.46 MB / 0.5886 GB Notification: Performance of SimCode: time 1.413e-06/3.442, allocations: 0 / 1.199 GB, free: 57.46 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.529/8.971, allocations: 128.8 MB / 1.325 GB, free: 147.4 MB / 0.5886 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