Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001751/0.001751, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.09 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001658, allocations: 81.08 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1262, allocations: 62.45 MB / 480.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01769/0.1439, allocations: 16.08 MB / 496.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1547, allocations: 4.989 MB / 0.4894 GB, free: 60 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.1575, allocations: 99.8 kB / 0.4895 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.1676, allocations: 5.155 MB / 0.4946 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007472/0.1751, allocations: 2.466 MB / 0.497 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.1787, allocations: 1.189 MB / 0.4981 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.1895, allocations: 6.662 MB / 0.5047 GB, free: 460 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2453/0.4349, allocations: 6.329 MB / 0.5108 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.4397, allocations: 2.584 MB / 0.5134 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0072/0.4469, allocations: 3.67 MB / 0.5169 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003121/0.4501, allocations: 0.5716 MB / 0.5175 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.4557, allocations: 1.274 MB / 0.5187 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008543/0.4643, allocations: 3.204 MB / 0.5219 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01105/0.4754, allocations: 3.665 MB / 0.5255 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01396/0.4894, allocations: 10.74 MB / 0.5359 GB, free: 4.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4894, allocations: 0 / 0.5359 GB, free: 4.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4895, allocations: 2.344 kB / 0.5359 GB, free: 4.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004946/0.49, allocations: 4 kB / 0.5359 GB, free: 4.152 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01934/0.5093, allocations: 7.612 MB / 0.5434 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.5094, allocations: 6.562 kB / 0.5434 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002804/0.5122, allocations: 1.191 MB / 0.5445 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.523, allocations: 2.62 MB / 0.5471 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.5337, allocations: 4.189 MB / 0.5512 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/0.5344, allocations: 433.7 kB / 0.5516 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/0.5371, allocations: 0.5545 MB / 0.5522 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04683/0.5839, allocations: 19.74 MB / 0.5714 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/0.5842, allocations: 69.28 kB / 0.5715 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001876/0.5861, allocations: 269 kB / 0.5718 GB, free: 3.637 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005106/0.5913, allocations: 3.154 MB / 0.5748 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03973/0.631, allocations: 15.86 MB / 0.5903 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1062/0.7373, allocations: 64.02 MB / 0.6528 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02593/0.7632, allocations: 6.325 MB / 0.659 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005168/0.7684, allocations: 2.042 MB / 0.661 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01819/0.7867, allocations: 9.169 MB / 0.67 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.223e-05/0.7868, allocations: 68.48 kB / 0.67 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 6.362e-06/0.7868, allocations: 0 / 0.67 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.06622/0.853, allocations: 21.39 MB / 0.6909 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8532, allocations: 157 kB / 0.6911 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/0.8647, allocations: 5.773 MB / 0.6967 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004782/0.8652, allocations: 73.7 kB / 0.6968 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003641/0.8688, allocations: 4.833 MB / 0.7015 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001352/0.8702, allocations: 1.12 MB / 0.7026 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003437/0.8737, allocations: 1.797 MB / 0.7043 GB, free: 10.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8738, allocations: 301.1 kB / 0.7046 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/0.8789, allocations: 2.614 MB / 0.7072 GB, free: 8.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2381/1.117, allocations: 8.161 MB / 0.7152 GB, free: 182.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/1.133, allocations: 11.72 MB / 0.7266 GB, free: 173.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003109/1.133, allocations: 60.38 kB / 0.7267 GB, free: 173.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.02403/1.157, allocations: 10.48 MB / 0.7369 GB, free: 169.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/1.158, allocations: 90.05 kB / 0.737 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003323/1.158, allocations: 195.2 kB / 0.7372 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/1.158, allocations: 266.9 kB / 0.7374 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007287/1.166, allocations: 2.193 MB / 0.7396 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004863/1.166, allocations: 388.6 kB / 0.7399 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007831/1.174, allocations: 461.3 kB / 0.7404 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.175, allocations: 0.5384 MB / 0.7409 GB, free: 169 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.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 (1171): * Single equations (assignments): 1168 * 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.005633/1.181, allocations: 3.139 MB / 0.744 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.182, allocations: 0.5149 MB / 0.7445 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/1.187, allocations: 2.992 MB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/1.187, allocations: 31.41 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.187, allocations: 3.938 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/1.187, allocations: 16.69 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/1.205, allocations: 12.28 MB / 0.7594 GB, free: 160.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-05/1.205, allocations: 36.25 kB / 0.7595 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/1.207, allocations: 0.5433 MB / 0.76 GB, free: 160.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.371e-05/1.207, allocations: 44 kB / 0.76 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/1.207, allocations: 95.69 kB / 0.7601 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.633e-05/1.208, allocations: 67.2 kB / 0.7602 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/1.208, allocations: 47.81 kB / 0.7602 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/1.213, allocations: 5.611 MB / 0.7657 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/1.215, allocations: 0.579 MB / 0.7663 GB, free: 154.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005046/1.215, allocations: 91.2 kB / 0.7664 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/1.217, allocations: 147.3 kB / 0.7665 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/1.217, allocations: 275.2 kB / 0.7668 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/1.217, allocations: 119.2 kB / 0.7669 GB, free: 153.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00497/1.222, allocations: 3.591 MB / 0.7704 GB, free: 150.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/1.222, allocations: 0 / 0.7704 GB, free: 150.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007566/1.23, allocations: 1.401 MB / 0.7718 GB, free: 149.3 MB / 0.545 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.00624/1.236, allocations: 6.316 MB / 0.7779 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.247, allocations: 6.554 MB / 0.7843 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.151e-05/1.247, allocations: 4 kB / 0.7843 GB, free: 137.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.249, allocations: 1.367 MB / 0.7857 GB, free: 135.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.253, allocations: 0.7643 MB / 0.7864 GB, free: 135.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07771/1.331, allocations: 81.13 MB / 0.8656 GB, free: 40.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004643/1.335, allocations: 4.76 MB / 0.8703 GB, free: 36.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005726/1.341, allocations: 2.563 MB / 0.8728 GB, free: 33.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003192/1.344, allocations: 3.198 MB / 0.8759 GB, free: 30.42 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/1.344, allocations: 0 / 0.8759 GB, free: 30.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4029/1.747, allocations: 98.38 MB / 0.972 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.72, allocations: 9.938 kB / 0.972 GB, free: 175.3 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv","/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_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches