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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005129/0.005129, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.001214/0.001214, allocations: 193.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 222.6 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3001/0.3001, allocations: 43.49 MB / 313.5 MB, free: 8.203 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 74.55 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1066, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2435/0.3501, allocations: 87.54 MB / 0.5151 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04262/0.3928, allocations: 16.73 MB / 0.5314 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02054/0.4133, allocations: 367.7 kB / 0.5318 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.4236, allocations: 5.24 MB / 0.5369 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007191/0.4309, allocations: 2.574 MB / 0.5394 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.4338, allocations: 1.093 MB / 0.5405 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4452, allocations: 10.25 MB / 0.5505 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008719/0.454, allocations: 6.536 MB / 0.5569 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.4585, allocations: 2.488 MB / 0.5593 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005875/0.4644, allocations: 4.245 MB / 0.5634 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001971/0.4664, allocations: 484 kB / 0.5639 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.47, allocations: 1.221 MB / 0.5651 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004228/0.4742, allocations: 3.397 MB / 0.5684 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006518/0.4808, allocations: 3.899 MB / 0.5722 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.4939, allocations: 11.68 MB / 0.5836 GB, free: 13.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.494, allocations: 0 / 0.5836 GB, free: 13.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.494, allocations: 0 / 0.5836 GB, free: 13.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003863/0.4944, allocations: 0 / 0.5836 GB, free: 13.77 MB / 462.1 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.01647/0.5109, allocations: 8.253 MB / 0.5917 GB, free: 5.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5109, allocations: 8.031 kB / 0.5917 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002293/0.5132, allocations: 1.302 MB / 0.593 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.5236, allocations: 2.752 MB / 0.5957 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008807/0.5324, allocations: 5.147 MB / 0.6007 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/0.5328, allocations: 468 kB / 0.6011 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.5347, allocations: 0.5894 MB / 0.6017 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04059/0.5753, allocations: 21.21 MB / 0.6224 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000182/0.5755, allocations: 79.23 kB / 0.6225 GB, free: 4.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007339/0.5763, allocations: 283.8 kB / 0.6228 GB, free: 4.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004825/0.5811, allocations: 3.541 MB / 0.6262 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3629/0.944, allocations: 17.19 MB / 0.643 GB, free: 136 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07211/1.016, allocations: 67.88 MB / 0.7093 GB, free: 88.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/1.031, allocations: 6.673 MB / 0.7158 GB, free: 84.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/1.034, allocations: 2.289 MB / 0.7181 GB, free: 82.28 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.046, allocations: 9.774 MB / 0.7276 GB, free: 72.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.046, allocations: 68.55 kB / 0.7277 GB, free: 72.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=296): time 5.31e-06/1.046, allocations: 0 / 0.7277 GB, free: 72.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=330): time 0.05271/1.099, allocations: 22.9 MB / 0.75 GB, free: 49.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/1.099, allocations: 162.7 kB / 0.7502 GB, free: 48.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006873/1.106, allocations: 6.067 MB / 0.7561 GB, free: 42.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003821/1.106, allocations: 77.7 kB / 0.7562 GB, free: 42.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/1.108, allocations: 5.192 MB / 0.7613 GB, free: 37.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007598/1.109, allocations: 1.253 MB / 0.7625 GB, free: 36.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/1.11, allocations: 1.917 MB / 0.7643 GB, free: 34.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.398e-05/1.11, allocations: 301.1 kB / 0.7646 GB, free: 34.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/1.114, allocations: 2.83 MB / 0.7674 GB, free: 31.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/1.119, allocations: 8.639 MB / 0.7758 GB, free: 19.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009591/1.129, allocations: 12.48 MB / 0.788 GB, free: 4.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.129, allocations: 63.98 kB / 0.7881 GB, free: 4.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.01739/1.146, allocations: 11.19 MB / 0.799 GB, free: 9.062 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/1.146, allocations: 96 kB / 0.7991 GB, free: 8.969 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002836/1.147, allocations: 204 kB / 0.7993 GB, free: 8.77 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/1.147, allocations: 272 kB / 0.7996 GB, free: 8.504 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007271/1.154, allocations: 2.344 MB / 0.8018 GB, free: 6.156 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/1.155, allocations: 402.5 kB / 0.8022 GB, free: 5.762 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005927/1.161, allocations: 479.3 kB / 0.8027 GB, free: 5.297 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/1.162, allocations: 0.5742 MB / 0.8032 GB, free: 4.723 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * 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 (1255): * Single equations (assignments): 1252 * 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.005576/1.167, allocations: 3.386 MB / 0.8066 GB, free: 1.32 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.168, allocations: 0.5632 MB / 0.8071 GB, free: 0.75 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006495/1.175, allocations: 3.45 MB / 0.8105 GB, free: 13.25 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/1.175, allocations: 39.94 kB / 0.8105 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.175, allocations: 4 kB / 0.8105 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/1.175, allocations: 15.94 kB / 0.8105 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2141/1.389, allocations: 13.78 MB / 0.824 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.056e-05/1.389, allocations: 33.03 kB / 0.824 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/1.391, allocations: 0.6171 MB / 0.8246 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.319e-05/1.391, allocations: 45.12 kB / 0.8247 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/1.392, allocations: 110.8 kB / 0.8248 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.612e-05/1.392, allocations: 63.69 kB / 0.8248 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.231e-05/1.392, allocations: 55.16 kB / 0.8249 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/1.398, allocations: 6.307 MB / 0.831 GB, free: 151.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.4, allocations: 0.8412 MB / 0.8319 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007452/1.401, allocations: 99.12 kB / 0.832 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.403, allocations: 146.8 kB / 0.8321 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/1.404, allocations: 302.3 kB / 0.8324 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/1.404, allocations: 128.5 kB / 0.8325 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004832/1.409, allocations: 3.773 MB / 0.8362 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.51e-07/1.409, allocations: 0 / 0.8362 GB, free: 150.4 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006519/1.415, allocations: 1.558 MB / 0.8377 GB, free: 150.2 MB / 0.5138 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (317): * Single equations (assignments): 314 * 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.006786/1.422, allocations: 7.052 MB / 0.8446 GB, free: 146.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.433, allocations: 6.466 MB / 0.8509 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.162e-05/1.433, allocations: 5.219 kB / 0.8509 GB, free: 144.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/1.435, allocations: 1.566 MB / 0.8524 GB, free: 143.7 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005016/1.44, allocations: 0.7631 MB / 0.8532 GB, free: 143.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1103/1.551, allocations: 91.72 MB / 0.9428 GB, free: 58.79 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007475/1.558, allocations: 5.15 MB / 0.9478 GB, free: 54.86 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00672/1.565, allocations: 2.76 MB / 0.9505 GB, free: 53.11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00504/1.57, allocations: 3.498 MB / 0.9539 GB, free: 49.87 MB / 0.5138 GB Notification: Performance of SimCode: time 2.354e-06/1.57, allocations: 0 / 0.9539 GB, free: 49.87 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3283/1.898, allocations: 103.6 MB / 1.055 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.898, allocations: 186.9 kB / 1.055 GB, free: 146 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.722/6.62, allocations: 0 / 1.055 GB, free: 146 MB / 0.5294 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/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