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.002186/0.002186, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.089/2.089, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001158/0.001158, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.2906/0.2906, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.411e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5446/0.6646, allocations: 108.4 MB / 0.5788 GB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.6649, allocations: 74.03 kB / 0.5788 GB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9693/1.634, allocations: 146.3 MB / 0.7217 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/1.634, allocations: 1.406 kB / 0.7217 GB, free: 96.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004683/1.635, allocations: 152.3 kB / 0.7218 GB, free: 96.43 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.02828/1.663, allocations: 6.631 MB / 0.7283 GB, free: 93.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.663, allocations: 9.125 kB / 0.7283 GB, free: 93.73 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006585/1.67, allocations: 1.38 MB / 0.7297 GB, free: 93.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02945/1.699, allocations: 3.629 MB / 0.7332 GB, free: 93.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02713/1.726, allocations: 7.664 MB / 0.7407 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00083/1.727, allocations: 0.5985 MB / 0.7413 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004694/1.732, allocations: 0.7908 MB / 0.7421 GB, free: 92.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07546/1.808, allocations: 21.53 MB / 0.7631 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005709/1.808, allocations: 89.38 kB / 0.7632 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004493/1.813, allocations: 389.4 kB / 0.7635 GB, free: 87.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005586/1.818, allocations: 1.947 MB / 0.7655 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06298/1.881, allocations: 17.19 MB / 0.7822 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/2.005, allocations: 79.59 MB / 0.86 GB, free: 20.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02905/2.034, allocations: 6.455 MB / 0.8663 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00566/2.04, allocations: 2.159 MB / 0.8684 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/2.069, allocations: 9.915 MB / 0.8781 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/2.069, allocations: 68.5 kB / 0.8781 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 7.023e-06/2.069, allocations: 0 / 0.8781 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=330): time 0.104/2.173, allocations: 20.96 MB / 0.8986 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/2.174, allocations: 162.7 kB / 0.8987 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3826/2.556, allocations: 5.273 MB / 0.9039 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006989/2.557, allocations: 74.58 kB / 0.904 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004825/2.562, allocations: 5.055 MB / 0.9089 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002048/2.564, allocations: 1.247 MB / 0.9101 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/2.565, allocations: 193.8 kB / 0.9103 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009134/2.566, allocations: 0.7213 MB / 0.911 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00853/2.575, allocations: 2.642 MB / 0.9136 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/2.588, allocations: 8.387 MB / 0.9218 GB, free: 94.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/2.6, allocations: 4.671 MB / 0.9263 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003971/2.6, allocations: 58.31 kB / 0.9264 GB, free: 94.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.03/2.63, allocations: 10.62 MB / 0.9368 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/2.63, allocations: 95 kB / 0.9369 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003676/2.631, allocations: 202.6 kB / 0.937 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003664/2.631, allocations: 300.1 kB / 0.9373 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/2.646, allocations: 2.377 MB / 0.9397 GB, free: 93.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000467/2.647, allocations: 403.2 kB / 0.94 GB, free: 93.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/2.659, allocations: 0.5956 MB / 0.9406 GB, free: 93.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/2.661, allocations: 0.5654 MB / 0.9412 GB, free: 93.78 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1246 * 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.003921/2.665, allocations: 0.8687 MB / 0.942 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.667, allocations: 0.5426 MB / 0.9426 GB, free: 93.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00965/2.677, allocations: 3.256 MB / 0.9457 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-05/2.677, allocations: 35.88 kB / 0.9458 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/2.677, allocations: 0 / 0.9458 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.566e-05/2.677, allocations: 14.39 kB / 0.9458 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/2.715, allocations: 13.66 MB / 0.9591 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.731e-05/2.715, allocations: 30.59 kB / 0.9591 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004548/2.72, allocations: 0.5964 MB / 0.9597 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.859e-05/2.72, allocations: 55.73 kB / 0.9598 GB, free: 90.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/2.72, allocations: 97.92 kB / 0.9599 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.985e-05/2.72, allocations: 75.95 kB / 0.9599 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.468e-05/2.72, allocations: 48.16 kB / 0.96 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/2.733, allocations: 12.13 MB / 0.9718 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003599/2.737, allocations: 0.8444 MB / 0.9727 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/2.739, allocations: 108.9 kB / 0.9728 GB, free: 78.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005434/2.744, allocations: 196.6 kB / 0.973 GB, free: 78.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008736/2.745, allocations: 299.2 kB / 0.9732 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003092/2.745, allocations: 126.3 kB / 0.9734 GB, free: 78.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009728/2.755, allocations: 3.653 MB / 0.9769 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.503e-06/2.755, allocations: 3 kB / 0.9769 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01276/2.768, allocations: 1.572 MB / 0.9785 GB, free: 77.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (311): * Single equations (assignments): 308 * 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.01559/2.784, allocations: 18.67 MB / 0.9967 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01484/2.799, allocations: 6.209 MB / 1.003 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-05/2.799, allocations: 3.25 kB / 1.003 GB, free: 58.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/2.802, allocations: 1.5 MB / 1.004 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006373/2.809, allocations: 0.721 MB / 1.005 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05301/2.862, allocations: 16.05 MB / 1.021 GB, free: 47.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01179/2.874, allocations: 5.284 MB / 1.026 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007682/2.881, allocations: 3.547 MB / 1.029 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.754e-06/2.881, allocations: 3.281 kB / 1.029 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.591/8.472, allocations: 130.4 MB / 1.157 GB, free: 89.13 MB / 0.5261 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