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.001366/0.001366, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009338/0.0009337, allocations: 94.14 kB / 261.7 MB, free: 1.676 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.21/0.21, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.987e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4893, allocations: 107.7 MB / 0.5712 GB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.4895, allocations: 82.95 kB / 0.5713 GB, free: 3.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6346/1.124, allocations: 142.8 MB / 0.7108 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/1.124, allocations: 0 / 0.7108 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004931/1.125, allocations: 148 kB / 0.7109 GB, free: 95.81 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.023/1.148, allocations: 6.628 MB / 0.7174 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.148, allocations: 11.03 kB / 0.7174 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/1.168, allocations: 3.626 MB / 0.7209 GB, free: 93.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01893/1.187, allocations: 7.66 MB / 0.7284 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005207/1.188, allocations: 265 kB / 0.7287 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1.191, allocations: 469.9 kB / 0.7291 GB, free: 93.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02127/1.212, allocations: 11.41 MB / 0.7402 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03379/1.246, allocations: 16.6 MB / 0.7565 GB, free: 88.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004502/1.247, allocations: 98.94 kB / 0.7566 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002991/1.25, allocations: 49.44 kB / 0.7566 GB, free: 88.83 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/1.253, allocations: 1.945 MB / 0.7585 GB, free: 88.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08404/1.337, allocations: 77.28 MB / 0.834 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/1.342, allocations: 3.458 MB / 0.8373 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002382/1.345, allocations: 1.924 MB / 0.8392 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/1.346, allocations: 1.772 MB / 0.841 GB, free: 32.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.346, allocations: 67.81 kB / 0.841 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=303): time 5.41e-06/1.346, allocations: 4 kB / 0.841 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.03311/1.379, allocations: 16.63 MB / 0.8573 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/1.379, allocations: 166.5 kB / 0.8574 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/1.384, allocations: 4.449 MB / 0.8618 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/1.385, allocations: 25.7 kB / 0.8618 GB, free: 16.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.387, allocations: 5.253 MB / 0.8669 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007488/1.387, allocations: 1.215 MB / 0.8681 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.388, allocations: 0 / 0.8681 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003695/1.388, allocations: 0.7235 MB / 0.8688 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/1.391, allocations: 2.515 MB / 0.8713 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/1.397, allocations: 8.407 MB / 0.8795 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.407, allocations: 4.547 MB / 0.8839 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002357/1.407, allocations: 60 kB / 0.884 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.03315/1.44, allocations: 9.663 MB / 0.8934 GB, free: 0 / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001475/1.442, allocations: 146.3 kB / 0.8936 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002714/1.445, allocations: 316.3 kB / 0.8939 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/1.445, allocations: 312.1 kB / 0.8942 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/1.456, allocations: 2.445 MB / 0.8966 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003885/1.457, allocations: 417.1 kB / 0.8969 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.464, allocations: 425.8 kB / 0.8974 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001633/1.466, allocations: 0.5877 MB / 0.8979 GB, free: 12.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1286): * Single equations (assignments): 1283 * 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.001737/1.468, allocations: 0.6426 MB / 0.8986 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006852/1.474, allocations: 3.179 MB / 0.9017 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/1.476, allocations: 0.4898 MB / 0.9021 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005876/1.482, allocations: 2.931 MB / 0.905 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/1.482, allocations: 36 kB / 0.905 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.482, allocations: 3.953 kB / 0.905 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-05/1.482, allocations: 12.84 kB / 0.9051 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3466/1.829, allocations: 11.73 MB / 0.9165 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.084e-05/1.829, allocations: 30.28 kB / 0.9165 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/1.832, allocations: 0.5975 MB / 0.9171 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-05/1.832, allocations: 51.66 kB / 0.9172 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002752/1.832, allocations: 55.45 kB / 0.9172 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.847e-05/1.832, allocations: 69 kB / 0.9173 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.94e-05/1.832, allocations: 48.53 kB / 0.9173 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.843, allocations: 10.46 MB / 0.9276 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.846, allocations: 0.7786 MB / 0.9283 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.847, allocations: 59.66 kB / 0.9284 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.85, allocations: 147.8 kB / 0.9285 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/1.85, allocations: 292.2 kB / 0.9288 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.851, allocations: 129.4 kB / 0.9289 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006733/1.857, allocations: 2.902 MB / 0.9317 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.857, allocations: 3.375 kB / 0.9317 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01023/1.868, allocations: 1.338 MB / 0.9331 GB, free: 103.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 (312): * Single equations (assignments): 309 * 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.01236/1.88, allocations: 17.95 MB / 0.9506 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009695/1.89, allocations: 5.794 MB / 0.9562 GB, free: 89.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.848e-05/1.89, allocations: 7.344 kB / 0.9563 GB, free: 89.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/1.892, allocations: 1.42 MB / 0.9576 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.896, allocations: 0.5385 MB / 0.9582 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03886/1.935, allocations: 14.79 MB / 0.9726 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007815/1.943, allocations: 5.266 MB / 0.9778 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007427/1.95, allocations: 2.819 MB / 0.9805 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005121/1.955, allocations: 3.488 MB / 0.9839 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/1.955, allocations: 0 / 0.9839 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1483/2.104, allocations: 103.6 MB / 1.085 GB, free: 20.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/2.104, allocations: 129.2 kB / 1.085 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.324/7.428, allocations: 0 / 1.085 GB, free: 20.19 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