Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 113 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 69.05 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1278, allocations: 60.83 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3121/0.4399, allocations: 86.33 MB / 0.5421 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04893/0.4889, allocations: 16.44 MB / 0.5582 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02343/0.5124, allocations: 368.1 kB / 0.5585 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.5225, allocations: 5.005 MB / 0.5634 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.5308, allocations: 2.395 MB / 0.5658 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003084/0.5339, allocations: 1.096 MB / 0.5668 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.5449, allocations: 6.685 MB / 0.5734 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009091/0.5541, allocations: 6.75 MB / 0.58 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/0.5595, allocations: 2.683 MB / 0.5826 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006372/0.5659, allocations: 4.101 MB / 0.5866 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001973/0.5679, allocations: 0.582 MB / 0.5872 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003591/0.5715, allocations: 1.315 MB / 0.5884 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003949/0.5755, allocations: 3.363 MB / 0.5917 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005607/0.5811, allocations: 3.822 MB / 0.5955 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01318/0.5943, allocations: 11.18 MB / 0.6064 GB, free: 7.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5944, allocations: 0 / 0.6064 GB, free: 7.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5944, allocations: 4 kB / 0.6064 GB, free: 7.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004241/0.5948, allocations: 4 kB / 0.6064 GB, free: 7.539 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01863/0.6134, allocations: 7.829 MB / 0.614 GB, free: 15.62 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6135, allocations: 12.03 kB / 0.614 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002875/0.6164, allocations: 1.224 MB / 0.6152 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.6274, allocations: 2.694 MB / 0.6179 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009446/0.6369, allocations: 4.571 MB / 0.6223 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004448/0.6374, allocations: 443.5 kB / 0.6228 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/0.6395, allocations: 0.5659 MB / 0.6233 GB, free: 6.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/0.685, allocations: 20.27 MB / 0.6431 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003514/0.6854, allocations: 75.3 kB / 0.6432 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/0.6875, allocations: 275.8 kB / 0.6434 GB, free: 276 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005809/0.6933, allocations: 3.333 MB / 0.6467 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04153/0.7348, allocations: 16.29 MB / 0.6626 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5383/1.273, allocations: 65.31 MB / 0.7264 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01731/1.29, allocations: 6.294 MB / 0.7325 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/1.294, allocations: 2.05 MB / 0.7345 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/1.308, allocations: 9.109 MB / 0.7434 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.308, allocations: 67.67 kB / 0.7435 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.561e-06/1.308, allocations: 0 / 0.7435 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05188/1.36, allocations: 21.31 MB / 0.7643 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/1.36, allocations: 162.4 kB / 0.7645 GB, free: 131 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00709/1.367, allocations: 5.866 MB / 0.7702 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005483/1.368, allocations: 69.7 kB / 0.7702 GB, free: 125.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002498/1.37, allocations: 4.959 MB / 0.7751 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.371, allocations: 1.116 MB / 0.7762 GB, free: 119 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001912/1.373, allocations: 1.822 MB / 0.778 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/1.373, allocations: 301.1 kB / 0.7782 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003269/1.377, allocations: 2.601 MB / 0.7808 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.382, allocations: 8.209 MB / 0.7888 GB, free: 103.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.393, allocations: 11.78 MB / 0.8003 GB, free: 89.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/1.393, allocations: 56 kB / 0.8004 GB, free: 89.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01701/1.41, allocations: 10.51 MB / 0.8106 GB, free: 78.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.41, allocations: 90.66 kB / 0.8107 GB, free: 78.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003165/1.41, allocations: 196.9 kB / 0.8109 GB, free: 78.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002842/1.411, allocations: 264 kB / 0.8111 GB, free: 78.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00661/1.417, allocations: 2.207 MB / 0.8133 GB, free: 75.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/1.418, allocations: 385.3 kB / 0.8137 GB, free: 75.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/1.425, allocations: 454.7 kB / 0.8141 GB, free: 74.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/1.426, allocations: 0.543 MB / 0.8146 GB, free: 74.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1180): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006362/1.433, allocations: 3.237 MB / 0.8178 GB, free: 71.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001452/1.434, allocations: 0.5206 MB / 0.8183 GB, free: 70.67 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/1.44, allocations: 2.962 MB / 0.8212 GB, free: 67.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-05/1.44, allocations: 32 kB / 0.8212 GB, free: 67.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.44, allocations: 0 / 0.8212 GB, free: 67.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-05/1.44, allocations: 15.95 kB / 0.8212 GB, free: 67.64 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.463, allocations: 12.44 MB / 0.8334 GB, free: 54.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-05/1.463, allocations: 28 kB / 0.8334 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.465, allocations: 0.5312 MB / 0.8339 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-05/1.465, allocations: 51.92 kB / 0.834 GB, free: 54.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/1.465, allocations: 95.42 kB / 0.8341 GB, free: 54.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.189e-05/1.465, allocations: 67.78 kB / 0.8341 GB, free: 53.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/1.465, allocations: 43.81 kB / 0.8342 GB, free: 53.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006075/1.471, allocations: 5.55 MB / 0.8396 GB, free: 47.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.473, allocations: 0.5801 MB / 0.8402 GB, free: 47.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005233/1.474, allocations: 95.97 kB / 0.8403 GB, free: 47.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.475, allocations: 123.9 kB / 0.8404 GB, free: 47.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.476, allocations: 275.9 kB / 0.8406 GB, free: 46.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.476, allocations: 123.8 kB / 0.8408 GB, free: 46.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004788/1.481, allocations: 3.635 MB / 0.8443 GB, free: 42.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/1.481, allocations: 4 kB / 0.8443 GB, free: 42.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008646/1.489, allocations: 1.458 MB / 0.8457 GB, free: 41.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006053/1.495, allocations: 6.262 MB / 0.8519 GB, free: 34.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.506, allocations: 6.522 MB / 0.8582 GB, free: 28.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/1.506, allocations: 4.844 kB / 0.8582 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001854/1.507, allocations: 1.351 MB / 0.8595 GB, free: 26.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006325/1.514, allocations: 0.7878 MB / 0.8603 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3635/1.877, allocations: 85.42 MB / 0.9437 GB, free: 173.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/1.883, allocations: 4.885 MB / 0.9485 GB, free: 171.7 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005971/1.889, allocations: 2.602 MB / 0.951 GB, free: 171.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003859/1.893, allocations: 3.29 MB / 0.9543 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of SimCode: time 1.352e-06/1.893, allocations: 0 / 0.9543 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/2.028, allocations: 99.84 MB / 1.052 GB, free: 79.99 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/2.028, allocations: 193.4 kB / 1.052 GB, free: 79.74 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.879/6.907, allocations: 0 / 1.052 GB, free: 79.74 MB / 0.5607 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat does not exist to compare? outputFormat=mat