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.0008497/0.0008497, allocations: 91.08 kB / 17.35 MB, free: 6.027 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.001031/0.001031, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.239/1.239, allocations: 223.3 MB / 242.3 MB, free: 72 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1764/0.1764, allocations: 44.24 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 13.12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.296/0.4081, allocations: 84.28 MB / 0.5436 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03603/0.4441, allocations: 16.48 MB / 0.5597 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01651/0.4607, allocations: 366.9 kB / 0.56 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.4631, allocations: 0.6554 MB / 0.5607 GB, free: 8.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006607/0.4698, allocations: 2.42 MB / 0.563 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.4721, allocations: 1.077 MB / 0.5641 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01041/0.4825, allocations: 9.718 MB / 0.5736 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.4946, allocations: 9.327 MB / 0.5827 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003479/0.4981, allocations: 1.891 MB / 0.5845 GB, free: 1.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.5029, allocations: 3.368 MB / 0.5878 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009388/0.5038, allocations: 256 kB / 0.5881 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.5061, allocations: 1.022 MB / 0.5891 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002604/0.5087, allocations: 2.937 MB / 0.5919 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.5122, allocations: 3.332 MB / 0.5952 GB, free: 6.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.5231, allocations: 10.63 MB / 0.6056 GB, free: 11.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5231, allocations: 0 / 0.6056 GB, free: 11.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.5231, allocations: 4 kB / 0.6056 GB, free: 11.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004282/0.5235, allocations: 0 / 0.6056 GB, free: 11.71 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.0116/0.5352, allocations: 6.328 MB / 0.6118 GB, free: 5.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5352, allocations: 12.03 kB / 0.6118 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001875/0.5371, allocations: 1.228 MB / 0.613 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.5472, allocations: 2.745 MB / 0.6156 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008171/0.5554, allocations: 4.575 MB / 0.6201 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.5558, allocations: 435.5 kB / 0.6205 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.5569, allocations: 0.5698 MB / 0.6211 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03953/0.5965, allocations: 20.32 MB / 0.6409 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003095/0.5968, allocations: 71.34 kB / 0.641 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.5985, allocations: 275.8 kB / 0.6413 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005508/0.6041, allocations: 3.341 MB / 0.6445 GB, free: 2.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03758/0.6417, allocations: 16.34 MB / 0.6605 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5032/1.145, allocations: 65.32 MB / 0.7243 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0161/1.161, allocations: 6.308 MB / 0.7304 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/1.164, allocations: 2.054 MB / 0.7324 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01171/1.176, allocations: 9.138 MB / 0.7414 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.176, allocations: 67.2 kB / 0.7414 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.119e-06/1.176, allocations: 2.938 kB / 0.7414 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05009/1.226, allocations: 21.37 MB / 0.7623 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/1.226, allocations: 165.2 kB / 0.7625 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007717/1.234, allocations: 5.868 MB / 0.7682 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.234, allocations: 69.69 kB / 0.7683 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002123/1.236, allocations: 4.958 MB / 0.7731 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007332/1.237, allocations: 1.109 MB / 0.7742 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009617/1.238, allocations: 0.7879 MB / 0.775 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.84e-05/1.238, allocations: 301.1 kB / 0.7752 GB, free: 118 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/1.241, allocations: 2.602 MB / 0.7778 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005324/1.247, allocations: 8.216 MB / 0.7858 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009259/1.256, allocations: 11.78 MB / 0.7973 GB, free: 90.35 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.256, allocations: 60 kB / 0.7974 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01433/1.27, allocations: 10.5 MB / 0.8076 GB, free: 79.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/1.271, allocations: 92 kB / 0.8077 GB, free: 79.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002663/1.271, allocations: 196 kB / 0.8079 GB, free: 79.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/1.271, allocations: 264 kB / 0.8081 GB, free: 79.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/1.277, allocations: 2.207 MB / 0.8103 GB, free: 77.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000274/1.277, allocations: 392.9 kB / 0.8107 GB, free: 76.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/1.283, allocations: 451.4 kB / 0.8111 GB, free: 76.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006726/1.283, allocations: 0.543 MB / 0.8116 GB, free: 75.67 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.005298/1.289, allocations: 3.23 MB / 0.8148 GB, free: 72.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/1.289, allocations: 0.5168 MB / 0.8153 GB, free: 71.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/1.294, allocations: 2.967 MB / 0.8182 GB, free: 68.92 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.294, allocations: 32 kB / 0.8182 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.294, allocations: 3.938 kB / 0.8182 GB, free: 68.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/1.294, allocations: 15.95 kB / 0.8182 GB, free: 68.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.312, allocations: 12.47 MB / 0.8304 GB, free: 55.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/1.312, allocations: 42.86 kB / 0.8305 GB, free: 55.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.314, allocations: 0.5387 MB / 0.831 GB, free: 55.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.752e-05/1.314, allocations: 48 kB / 0.831 GB, free: 55.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/1.314, allocations: 88.78 kB / 0.8311 GB, free: 55.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.212e-05/1.314, allocations: 63.78 kB / 0.8312 GB, free: 55.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.922e-05/1.314, allocations: 51.75 kB / 0.8312 GB, free: 55.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005393/1.32, allocations: 5.554 MB / 0.8367 GB, free: 49.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.321, allocations: 0.5879 MB / 0.8372 GB, free: 48.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.322, allocations: 91.97 kB / 0.8373 GB, free: 48.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002388/1.325, allocations: 144.4 kB / 0.8375 GB, free: 48.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/1.325, allocations: 279.9 kB / 0.8377 GB, free: 47.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.325, allocations: 117.3 kB / 0.8378 GB, free: 47.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005981/1.331, allocations: 3.643 MB / 0.8414 GB, free: 44.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.331, allocations: 0 / 0.8414 GB, free: 44.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007373/1.339, allocations: 1.457 MB / 0.8428 GB, free: 42.68 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.006627/1.345, allocations: 6.266 MB / 0.8489 GB, free: 35.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008812/1.354, allocations: 5.937 MB / 0.8547 GB, free: 29.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/1.354, allocations: 4 kB / 0.8547 GB, free: 29.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.356, allocations: 1.345 MB / 0.856 GB, free: 28.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02669/1.382, allocations: 0.7788 MB / 0.8568 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3058/1.688, allocations: 85.57 MB / 0.9404 GB, free: 205.7 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005803/1.694, allocations: 4.893 MB / 0.9452 GB, free: 204.1 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005603/1.7, allocations: 2.596 MB / 0.9477 GB, free: 204 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/1.703, allocations: 3.295 MB / 0.9509 GB, free: 201.3 MB / 0.5763 GB Notification: Performance of SimCode: time 7.72e-07/1.703, allocations: 0 / 0.9509 GB, free: 201.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.812, allocations: 97.29 MB / 1.046 GB, free: 115.3 MB / 0.5763 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.812, allocations: 201.7 kB / 1.046 GB, free: 115 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.289/6.101, allocations: 0 / 1.046 GB, free: 115 MB / 0.5763 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