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.001316/0.001316, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001296/0.001296, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2158/0.2158, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.48 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01752/0.1222, allocations: 16.4 MB / 485.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.1333, allocations: 5.024 MB / 490.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.1362, allocations: 99.75 kB / 490.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009947/0.1461, allocations: 5.19 MB / 496.1 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007587/0.1538, allocations: 2.563 MB / 498.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.1571, allocations: 1.178 MB / 499.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009594/0.1667, allocations: 6.653 MB / 0.4946 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009681/0.1764, allocations: 6.398 MB / 0.5008 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2249/0.4014, allocations: 2.636 MB / 0.5034 GB, free: 17.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006599/0.408, allocations: 3.734 MB / 0.5071 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003059/0.4111, allocations: 0.5834 MB / 0.5076 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005681/0.4168, allocations: 1.3 MB / 0.5089 GB, free: 17.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006874/0.4238, allocations: 3.318 MB / 0.5121 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01105/0.4348, allocations: 3.788 MB / 0.5158 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01712/0.452, allocations: 11.12 MB / 0.5267 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4521, allocations: 4.609 kB / 0.5267 GB, free: 12.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-05/0.4521, allocations: 0 / 0.5267 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006803/0.4528, allocations: 0.5312 kB / 0.5267 GB, free: 12.73 MB / 382.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.023/0.4758, allocations: 7.825 MB / 0.5344 GB, free: 7.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4759, allocations: 7.969 kB / 0.5344 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003476/0.4794, allocations: 1.236 MB / 0.5356 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.4905, allocations: 2.685 MB / 0.5382 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009255/0.4998, allocations: 4.577 MB / 0.5427 GB, free: 2.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.5003, allocations: 443 kB / 0.5431 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002271/0.5026, allocations: 0.5683 MB / 0.5436 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0471/0.5497, allocations: 20.26 MB / 0.5634 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003682/0.5501, allocations: 80.81 kB / 0.5635 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002106/0.5522, allocations: 275.2 kB / 0.5638 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005725/0.5579, allocations: 3.339 MB / 0.567 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04171/0.5997, allocations: 16.28 MB / 0.5829 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09816/0.6979, allocations: 65.32 MB / 0.6467 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/0.7163, allocations: 6.289 MB / 0.6529 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003778/0.7201, allocations: 2.046 MB / 0.6549 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01861/0.7388, allocations: 9.123 MB / 0.6638 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/0.7389, allocations: 63.09 kB / 0.6638 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 6.973e-06/0.7389, allocations: 0 / 0.6638 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=291): time 0.06545/0.8044, allocations: 21.31 MB / 0.6846 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8045, allocations: 161.8 kB / 0.6848 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/0.8191, allocations: 5.864 MB / 0.6905 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008929/0.82, allocations: 65.7 kB / 0.6906 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0048/0.8249, allocations: 4.962 MB / 0.6954 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001784/0.8267, allocations: 1.109 MB / 0.6965 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004898/0.8316, allocations: 1.824 MB / 0.6983 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.8317, allocations: 305.1 kB / 0.6986 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005539/0.8372, allocations: 2.602 MB / 0.7011 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2499/1.087, allocations: 8.208 MB / 0.7091 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.103, allocations: 11.78 MB / 0.7206 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005284/1.103, allocations: 56.41 kB / 0.7207 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.02508/1.128, allocations: 10.5 MB / 0.731 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004841/1.129, allocations: 93.47 kB / 0.731 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005367/1.129, allocations: 199.5 kB / 0.7312 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/1.13, allocations: 263.4 kB / 0.7315 GB, free: 163.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008367/1.138, allocations: 2.197 MB / 0.7336 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007672/1.139, allocations: 393.5 kB / 0.734 GB, free: 162.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007775/1.147, allocations: 450.7 kB / 0.7344 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/1.149, allocations: 0.5505 MB / 0.735 GB, free: 162.5 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.008802/1.158, allocations: 3.225 MB / 0.7381 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.159, allocations: 0.5223 MB / 0.7386 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/1.166, allocations: 2.971 MB / 0.7415 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/1.167, allocations: 30.41 kB / 0.7416 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.167, allocations: 2.578 kB / 0.7416 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/1.167, allocations: 14.25 kB / 0.7416 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02746/1.194, allocations: 12.44 MB / 0.7537 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-05/1.194, allocations: 36.03 kB / 0.7538 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.196, allocations: 0.5367 MB / 0.7543 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.988e-05/1.196, allocations: 44 kB / 0.7543 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/1.196, allocations: 91.69 kB / 0.7544 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.672e-05/1.197, allocations: 63.12 kB / 0.7545 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-05/1.197, allocations: 54.66 kB / 0.7545 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006469/1.203, allocations: 5.541 MB / 0.7599 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/1.205, allocations: 0.5827 MB / 0.7605 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001648/1.207, allocations: 104.4 kB / 0.7606 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.21, allocations: 127.6 kB / 0.7607 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/1.21, allocations: 268.9 kB / 0.761 GB, free: 142.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.21, allocations: 123.8 kB / 0.7611 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008241/1.219, allocations: 3.642 MB / 0.7647 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.219, allocations: 0 / 0.7647 GB, free: 139.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009791/1.228, allocations: 1.45 MB / 0.7661 GB, free: 138.3 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.008716/1.237, allocations: 6.268 MB / 0.7722 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.25, allocations: 6.531 MB / 0.7786 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.459e-05/1.25, allocations: 4 kB / 0.7786 GB, free: 126.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.252, allocations: 1.34 MB / 0.7799 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007282/1.259, allocations: 0.7857 MB / 0.7806 GB, free: 124.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1077/1.367, allocations: 82.24 MB / 0.861 GB, free: 28.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007695/1.375, allocations: 4.894 MB / 0.8657 GB, free: 23.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005932/1.381, allocations: 2.611 MB / 0.8683 GB, free: 21.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003925/1.385, allocations: 3.288 MB / 0.8715 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of SimCode: time 9.32e-07/1.385, allocations: 0 / 0.8715 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3773/1.762, allocations: 100.1 MB / 0.9692 GB, free: 148.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.76, allocations: 1.031 kB / 0.9692 GB, free: 148.4 MB / 0.545 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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches