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.001412/0.001412, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.605/1.605, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000922/0.000922, allocations: 78.62 kB / 267 MB, free: 9.293 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.4156/0.4156, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.045e-05/4.05e-05, allocations: 3.984 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1513, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4956/0.647, allocations: 108.4 MB / 0.5788 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.6473, allocations: 78.27 kB / 0.5788 GB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6961/1.343, allocations: 146.3 MB / 0.7217 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/1.344, allocations: 0.5625 kB / 0.7217 GB, free: 82.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003913/1.344, allocations: 151.6 kB / 0.7219 GB, free: 82.55 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.02646/1.37, allocations: 6.622 MB / 0.7283 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.37, allocations: 9.891 kB / 0.7283 GB, free: 79.82 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006137/1.377, allocations: 1.381 MB / 0.7297 GB, free: 79.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01948/1.396, allocations: 3.622 MB / 0.7332 GB, free: 79.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/1.419, allocations: 7.682 MB / 0.7407 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009518/1.42, allocations: 0.5957 MB / 0.7413 GB, free: 78.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005349/1.426, allocations: 0.7855 MB / 0.7421 GB, free: 78.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06313/1.489, allocations: 21.53 MB / 0.7631 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006857/1.49, allocations: 97.28 kB / 0.7632 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004818/1.494, allocations: 383.1 kB / 0.7636 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003908/1.498, allocations: 1.952 MB / 0.7655 GB, free: 73.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04202/1.54, allocations: 17.2 MB / 0.7823 GB, free: 70.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1135/1.654, allocations: 79.59 MB / 0.86 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0179/1.672, allocations: 6.457 MB / 0.8663 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/1.676, allocations: 2.165 MB / 0.8684 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0249/1.701, allocations: 9.915 MB / 0.8781 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/1.701, allocations: 64.5 kB / 0.8781 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=296): time 7.534e-06/1.702, allocations: 0 / 0.8781 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=330): time 0.4804/2.182, allocations: 20.96 MB / 0.8986 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/2.182, allocations: 162.8 kB / 0.8988 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.196, allocations: 5.283 MB / 0.9039 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007714/2.197, allocations: 72.92 kB / 0.904 GB, free: 91.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006339/2.204, allocations: 5.197 MB / 0.9091 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002809/2.206, allocations: 1.249 MB / 0.9103 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009561/2.207, allocations: 196 kB / 0.9105 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000955/2.208, allocations: 0.7154 MB / 0.9112 GB, free: 87.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/2.214, allocations: 2.642 MB / 0.9138 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009662/2.224, allocations: 8.377 MB / 0.9219 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009407/2.233, allocations: 4.668 MB / 0.9265 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004718/2.234, allocations: 60.38 kB / 0.9266 GB, free: 80.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.03013/2.264, allocations: 10.81 MB / 0.9371 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007203/2.264, allocations: 95.36 kB / 0.9372 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009394/2.265, allocations: 202.8 kB / 0.9374 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000996/2.266, allocations: 301.2 kB / 0.9377 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.277, allocations: 2.376 MB / 0.94 GB, free: 79.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/2.279, allocations: 403.9 kB / 0.9404 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/2.29, allocations: 0.587 MB / 0.941 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003237/2.294, allocations: 0.5665 MB / 0.9415 GB, free: 78.92 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.004961/2.299, allocations: 0.8595 MB / 0.9424 GB, free: 78.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002381/2.301, allocations: 0.5482 MB / 0.9429 GB, free: 78.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/2.312, allocations: 3.251 MB / 0.9461 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-05/2.312, allocations: 36.17 kB / 0.9461 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/2.312, allocations: 0 / 0.9461 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-05/2.312, allocations: 21.53 kB / 0.9461 GB, free: 77.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/2.349, allocations: 13.65 MB / 0.9594 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002184/2.349, allocations: 37.14 kB / 0.9595 GB, free: 73.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/2.352, allocations: 0.5959 MB / 0.9601 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/2.352, allocations: 53.44 kB / 0.9601 GB, free: 73.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006124/2.353, allocations: 98.69 kB / 0.9602 GB, free: 73.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.929e-05/2.353, allocations: 67.02 kB / 0.9603 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.051e-05/2.353, allocations: 51.78 kB / 0.9603 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/2.365, allocations: 12.12 MB / 0.9722 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003734/2.369, allocations: 0.8538 MB / 0.973 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/2.371, allocations: 99.88 kB / 0.9731 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.375, allocations: 208 kB / 0.9733 GB, free: 62.06 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/2.376, allocations: 292.4 kB / 0.9736 GB, free: 61.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003931/2.377, allocations: 130.6 kB / 0.9737 GB, free: 61.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01063/2.387, allocations: 3.65 MB / 0.9773 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.01e-07/2.387, allocations: 0 / 0.9773 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01318/2.4, allocations: 1.575 MB / 0.9788 GB, free: 60.47 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.01535/2.416, allocations: 18.68 MB / 0.997 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0133/2.429, allocations: 6.204 MB / 1.003 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.463e-05/2.429, allocations: 3.906 kB / 1.003 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003091/2.432, allocations: 1.501 MB / 1.005 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/2.439, allocations: 0.7102 MB / 1.005 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05462/2.493, allocations: 15.26 MB / 1.02 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01321/2.507, allocations: 5.28 MB / 1.025 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01017/2.517, allocations: 2.772 MB / 1.028 GB, free: 31.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007528/2.524, allocations: 3.477 MB / 1.031 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/2.524, allocations: 0 / 1.031 GB, free: 28.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5969/3.121, allocations: 114.2 MB / 1.143 GB, free: 89.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/3.122, allocations: 142.2 kB / 1.143 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/10.51, allocations: 4 kB / 1.143 GB, free: 89.07 MB / 0.5261 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