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.001139/0.001139, allocations: 175.6 kB / 16.72 MB, free: 5.051 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.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006891/0.000689, allocations: 89.02 kB / 271.2 MB, free: 8.254 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.2911/0.2911, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 12 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09557, allocations: 58.84 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2175/0.3131, allocations: 79.46 MB / 0.557 GB, free: 9.633 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.346, allocations: 15.99 MB / 0.5726 GB, free: 14.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.3608, allocations: 368.5 kB / 0.573 GB, free: 14.67 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.3731, allocations: 4.169 MB / 0.577 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02983/0.4029, allocations: 12.13 MB / 0.5889 GB, free: 5.766 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00532/0.4083, allocations: 1.124 MB / 0.59 GB, free: 4.641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009964/0.4183, allocations: 8.251 MB / 0.598 GB, free: 12.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01207/0.4304, allocations: 9.103 MB / 0.6069 GB, free: 3.203 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.4341, allocations: 2.168 MB / 0.6091 GB, free: 1.027 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004607/0.4388, allocations: 3.587 MB / 0.6126 GB, free: 13.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.4402, allocations: 276 kB / 0.6128 GB, free: 13.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.443, allocations: 1.006 MB / 0.6138 GB, free: 12.15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003246/0.4463, allocations: 3.054 MB / 0.6168 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003459/0.4498, allocations: 3.349 MB / 0.6201 GB, free: 5.711 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008164/0.458, allocations: 9.379 MB / 0.6292 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.458, allocations: 0 / 0.6292 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.458, allocations: 0 / 0.6292 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002937/0.4583, allocations: 0 / 0.6292 GB, free: 12.31 MB / 458.7 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.01124/0.4695, allocations: 6.65 MB / 0.6357 GB, free: 5.582 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4696, allocations: 8.031 kB / 0.6357 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002283/0.4719, allocations: 1.298 MB / 0.637 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.4821, allocations: 2.81 MB / 0.6397 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.4903, allocations: 5.142 MB / 0.6447 GB, free: 12.24 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003018/0.4906, allocations: 460 kB / 0.6452 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/0.4918, allocations: 0.5933 MB / 0.6458 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03711/0.5289, allocations: 21.22 MB / 0.6665 GB, free: 4.812 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.5291, allocations: 79.23 kB / 0.6666 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007746/0.5299, allocations: 287.7 kB / 0.6668 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/0.535, allocations: 3.545 MB / 0.6703 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3603/0.8954, allocations: 17.17 MB / 0.6871 GB, free: 130.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06732/0.9627, allocations: 67.88 MB / 0.7534 GB, free: 83.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.9784, allocations: 6.679 MB / 0.7599 GB, free: 80.09 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/0.9815, allocations: 2.292 MB / 0.7621 GB, free: 77.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/0.9944, allocations: 9.786 MB / 0.7717 GB, free: 67.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.9945, allocations: 68.5 kB / 0.7717 GB, free: 67.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=296): time 6.141e-06/0.9945, allocations: 4 kB / 0.7717 GB, free: 67.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=330): time 0.05082/1.045, allocations: 22.92 MB / 0.7941 GB, free: 44.66 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/1.045, allocations: 162.6 kB / 0.7943 GB, free: 44.47 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006723/1.052, allocations: 6.032 MB / 0.8002 GB, free: 38.42 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005543/1.053, allocations: 77.7 kB / 0.8002 GB, free: 38.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/1.055, allocations: 5.189 MB / 0.8053 GB, free: 33.15 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.056, allocations: 1.258 MB / 0.8065 GB, free: 31.91 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.056, allocations: 196 kB / 0.8067 GB, free: 31.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003244/1.057, allocations: 0.7155 MB / 0.8074 GB, free: 30.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.061, allocations: 2.792 MB / 0.8101 GB, free: 28.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005665/1.066, allocations: 8.604 MB / 0.8185 GB, free: 16.72 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.077, allocations: 12.44 MB / 0.8307 GB, free: 1.375 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001344/1.077, allocations: 60 kB / 0.8308 GB, free: 1.316 MB / 490.8 MB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.02004/1.098, allocations: 11.11 MB / 0.8416 GB, free: 6.156 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/1.098, allocations: 92 kB / 0.8417 GB, free: 6.066 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000288/1.098, allocations: 205.3 kB / 0.8419 GB, free: 5.867 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/1.098, allocations: 272.8 kB / 0.8421 GB, free: 5.602 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007462/1.106, allocations: 2.343 MB / 0.8444 GB, free: 3.254 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000373/1.106, allocations: 406.4 kB / 0.8448 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00593/1.112, allocations: 479.4 kB / 0.8453 GB, free: 2.387 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.114, allocations: 0.5735 MB / 0.8458 GB, free: 1.816 MB / 0.4949 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00611/1.12, allocations: 3.39 MB / 0.8492 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.121, allocations: 0.5476 MB / 0.8497 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006576/1.127, allocations: 3.437 MB / 0.853 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.372e-05/1.128, allocations: 39.98 kB / 0.8531 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.128, allocations: 0 / 0.8531 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.128, allocations: 15.89 kB / 0.8531 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2079/1.336, allocations: 13.8 MB / 0.8666 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.466e-05/1.336, allocations: 34.31 kB / 0.8666 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/1.338, allocations: 0.6197 MB / 0.8672 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.466e-05/1.338, allocations: 47.41 kB / 0.8673 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000285/1.338, allocations: 105.3 kB / 0.8674 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.075e-05/1.338, allocations: 65.02 kB / 0.8674 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.379e-05/1.338, allocations: 53.48 kB / 0.8675 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/1.346, allocations: 6.285 MB / 0.8736 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.348, allocations: 0.8508 MB / 0.8744 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006623/1.349, allocations: 110.2 kB / 0.8745 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.35, allocations: 155.4 kB / 0.8747 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004453/1.351, allocations: 303.8 kB / 0.875 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/1.351, allocations: 131.6 kB / 0.8751 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005153/1.356, allocations: 3.737 MB / 0.8788 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.356, allocations: 0 / 0.8788 GB, free: 145.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006781/1.363, allocations: 1.555 MB / 0.8803 GB, free: 144.9 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 () * 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 (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.00704/1.37, allocations: 7.027 MB / 0.8871 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008794/1.379, allocations: 6.427 MB / 0.8934 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/1.379, allocations: 5.125 kB / 0.8934 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.381, allocations: 1.561 MB / 0.8949 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02788/1.409, allocations: 0.7696 MB / 0.8957 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08146/1.491, allocations: 58.56 MB / 0.9529 GB, free: 91.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007482/1.498, allocations: 5.143 MB / 0.9579 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004166/1.502, allocations: 3.568 MB / 0.9614 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/1.502, allocations: 0 / 0.9614 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.803/11.31, allocations: 117.4 MB / 1.076 GB, free: 149 MB / 0.5262 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