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.00176/0.00176, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002036/0.002036, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2248/0.2248, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 79.86 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3126, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01876/0.3314, allocations: 16.1 MB / 0.5464 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.3442, allocations: 4.979 MB / 0.5512 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.3472, allocations: 99.75 kB / 0.5513 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009994/0.3572, allocations: 5.159 MB / 0.5564 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007279/0.3646, allocations: 2.458 MB / 0.5588 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.3677, allocations: 1.186 MB / 0.5599 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01075/0.3785, allocations: 6.667 MB / 0.5664 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009056/0.3876, allocations: 6.327 MB / 0.5726 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.3928, allocations: 2.594 MB / 0.5751 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006252/0.3991, allocations: 3.665 MB / 0.5787 GB, free: 292 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.4014, allocations: 0.5742 MB / 0.5793 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.4055, allocations: 1.268 MB / 0.5805 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004477/0.41, allocations: 3.207 MB / 0.5836 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00596/0.416, allocations: 3.667 MB / 0.5872 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4313, allocations: 11.16 MB / 0.5981 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4313, allocations: 4 kB / 0.5981 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4314, allocations: 0 / 0.5981 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004122/0.4318, allocations: 0 / 0.5981 GB, free: 12.32 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01722/0.449, allocations: 7.8 MB / 0.6057 GB, free: 4.434 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.4491, allocations: 12.03 kB / 0.6058 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002635/0.4517, allocations: 1.194 MB / 0.6069 GB, free: 3.219 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.4626, allocations: 2.664 MB / 0.6095 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008609/0.4712, allocations: 4.268 MB / 0.6137 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.4717, allocations: 435 kB / 0.6141 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.4733, allocations: 0.5544 MB / 0.6146 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/0.5154, allocations: 19.74 MB / 0.6339 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.5157, allocations: 71.39 kB / 0.634 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.5173, allocations: 275.8 kB / 0.6343 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005359/0.5227, allocations: 3.142 MB / 0.6373 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03853/0.5613, allocations: 15.86 MB / 0.6528 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08816/0.6495, allocations: 63.86 MB / 0.7152 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4402/1.09, allocations: 6.331 MB / 0.7214 GB, free: 162.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/1.093, allocations: 2.078 MB / 0.7234 GB, free: 161.6 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01281/1.106, allocations: 9.188 MB / 0.7324 GB, free: 157.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.106, allocations: 66.64 kB / 0.7324 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.779e-06/1.106, allocations: 3.438 kB / 0.7324 GB, free: 157.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05072/1.157, allocations: 21.75 MB / 0.7537 GB, free: 142.6 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.157, allocations: 162.4 kB / 0.7538 GB, free: 142.4 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006311/1.163, allocations: 5.788 MB / 0.7595 GB, free: 136.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004058/1.163, allocations: 77.23 kB / 0.7595 GB, free: 136.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/1.166, allocations: 5.029 MB / 0.7645 GB, free: 131.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.000912/1.166, allocations: 1.165 MB / 0.7656 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/1.168, allocations: 1.825 MB / 0.7674 GB, free: 129 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.746e-05/1.168, allocations: 301.1 kB / 0.7677 GB, free: 128.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/1.172, allocations: 2.61 MB / 0.7702 GB, free: 126 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.177, allocations: 8.165 MB / 0.7782 GB, free: 115.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009747/1.187, allocations: 11.72 MB / 0.7896 GB, free: 100.7 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.187, allocations: 56 kB / 0.7897 GB, free: 100.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01582/1.203, allocations: 10.51 MB / 0.7999 GB, free: 90.14 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.203, allocations: 88 kB / 0.8 GB, free: 90.06 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/1.203, allocations: 196 kB / 0.8002 GB, free: 89.87 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/1.203, allocations: 264.1 kB / 0.8005 GB, free: 89.61 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/1.209, allocations: 2.195 MB / 0.8026 GB, free: 87.41 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002141/1.21, allocations: 386.5 kB / 0.803 GB, free: 87.03 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.215, allocations: 463.4 kB / 0.8034 GB, free: 86.58 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.216, allocations: 0.5351 MB / 0.8039 GB, free: 86.05 MB / 0.5607 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.004316/1.221, allocations: 3.146 MB / 0.807 GB, free: 82.89 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008203/1.222, allocations: 0.5393 MB / 0.8075 GB, free: 82.35 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004547/1.226, allocations: 2.988 MB / 0.8105 GB, free: 79.34 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/1.226, allocations: 35.94 kB / 0.8105 GB, free: 79.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.226, allocations: 4 kB / 0.8105 GB, free: 79.3 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/1.226, allocations: 15.95 kB / 0.8105 GB, free: 79.29 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/1.245, allocations: 12.27 MB / 0.8225 GB, free: 66.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/1.245, allocations: 32 kB / 0.8225 GB, free: 66.51 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.247, allocations: 0.5421 MB / 0.8231 GB, free: 65.97 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-05/1.247, allocations: 44.47 kB / 0.8231 GB, free: 65.93 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/1.247, allocations: 95.98 kB / 0.8232 GB, free: 65.83 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.499e-05/1.247, allocations: 63.78 kB / 0.8233 GB, free: 65.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.056e-05/1.247, allocations: 51.75 kB / 0.8233 GB, free: 65.72 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/1.253, allocations: 5.629 MB / 0.8288 GB, free: 59.55 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.254, allocations: 0.6066 MB / 0.8294 GB, free: 58.92 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008531/1.255, allocations: 95.97 kB / 0.8295 GB, free: 58.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.257, allocations: 143.1 kB / 0.8296 GB, free: 58.69 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.257, allocations: 267.9 kB / 0.8299 GB, free: 58.43 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.257, allocations: 124 kB / 0.83 GB, free: 58.31 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004618/1.262, allocations: 3.59 MB / 0.8335 GB, free: 54.75 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.71e-07/1.262, allocations: 0 / 0.8335 GB, free: 54.75 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006236/1.268, allocations: 1.399 MB / 0.8349 GB, free: 53.35 MB / 0.5607 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.005873/1.274, allocations: 6.361 MB / 0.8411 GB, free: 46.45 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008048/1.282, allocations: 6.039 MB / 0.847 GB, free: 40.45 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.976e-05/1.282, allocations: 8.062 kB / 0.847 GB, free: 40.45 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.284, allocations: 1.366 MB / 0.8483 GB, free: 39.09 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/1.289, allocations: 0.7558 MB / 0.8491 GB, free: 38.35 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09249/1.381, allocations: 67.66 MB / 0.9151 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007407/1.389, allocations: 4.756 MB / 0.9198 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006349/1.395, allocations: 2.579 MB / 0.9223 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004899/1.4, allocations: 3.195 MB / 0.9254 GB, free: 14.11 MB / 0.6232 GB Notification: Performance of SimCode: time 9.12e-07/1.4, allocations: 4 kB / 0.9254 GB, free: 14.11 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3806/1.781, allocations: 92.59 MB / 1.016 GB, free: 177.5 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.58/27.36, allocations: 3.984 kB / 1.016 GB, free: 177.5 MB / 0.6388 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches