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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001434/0.001434, allocations: 112.5 kB / 20.43 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 213 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2286/0.2286, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 79.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2895, allocations: 66.09 MB / 0.5607 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01912/0.3086, allocations: 16.19 MB / 0.5766 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.3199, allocations: 5.029 MB / 0.5815 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002638/0.3226, allocations: 115.5 kB / 0.5816 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.3331, allocations: 5.253 MB / 0.5867 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.34, allocations: 2.547 MB / 0.5892 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.3431, allocations: 1.186 MB / 0.5904 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.3534, allocations: 6.658 MB / 0.5969 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006923/0.3603, allocations: 5.055 MB / 0.6018 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00451/0.3649, allocations: 2.637 MB / 0.6044 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006382/0.3712, allocations: 3.938 MB / 0.6082 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001919/0.3732, allocations: 0.5703 MB / 0.6088 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.3765, allocations: 1.303 MB / 0.61 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004113/0.3806, allocations: 3.288 MB / 0.6133 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005611/0.3862, allocations: 3.667 MB / 0.6168 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.4014, allocations: 11.17 MB / 0.6277 GB, free: 15.35 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4014, allocations: 0 / 0.6277 GB, free: 15.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4014, allocations: 0 / 0.6277 GB, free: 15.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003442/0.4018, allocations: 0 / 0.6277 GB, free: 15.35 MB / 478.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.01743/0.4192, allocations: 7.737 MB / 0.6353 GB, free: 7.543 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4192, allocations: 11.97 kB / 0.6353 GB, free: 7.531 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/0.4222, allocations: 1.19 MB / 0.6365 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.4333, allocations: 2.668 MB / 0.6391 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009546/0.4429, allocations: 4.173 MB / 0.6432 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004513/0.4433, allocations: 434.9 kB / 0.6436 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.445, allocations: 0.5583 MB / 0.6441 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04324/0.4883, allocations: 19.75 MB / 0.6634 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003622/0.4886, allocations: 63.45 kB / 0.6635 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/0.4908, allocations: 275.8 kB / 0.6637 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006024/0.4969, allocations: 3.153 MB / 0.6668 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/0.5343, allocations: 15.85 MB / 0.6823 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.574/1.108, allocations: 63.91 MB / 0.7447 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/1.123, allocations: 5.673 MB / 0.7502 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/1.125, allocations: 1.898 MB / 0.7521 GB, free: 110.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/1.137, allocations: 7.987 MB / 0.7599 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.137, allocations: 66.47 kB / 0.7599 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.731e-06/1.137, allocations: 3.938 kB / 0.7599 GB, free: 108.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.0479/1.185, allocations: 21.6 MB / 0.781 GB, free: 92.35 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/1.185, allocations: 160.5 kB / 0.7812 GB, free: 92.16 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006605/1.192, allocations: 5.793 MB / 0.7869 GB, free: 86.51 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004501/1.192, allocations: 69.7 kB / 0.7869 GB, free: 86.44 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.194, allocations: 5.027 MB / 0.7918 GB, free: 81.66 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.195, allocations: 1.168 MB / 0.793 GB, free: 80.51 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0019/1.197, allocations: 1.815 MB / 0.7947 GB, free: 78.68 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.713e-05/1.197, allocations: 304.6 kB / 0.795 GB, free: 78.39 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/1.201, allocations: 2.61 MB / 0.7976 GB, free: 75.77 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005206/1.206, allocations: 8.17 MB / 0.8056 GB, free: 65.04 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009597/1.216, allocations: 11.72 MB / 0.817 GB, free: 50.86 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.216, allocations: 60 kB / 0.8171 GB, free: 50.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01622/1.232, allocations: 10.51 MB / 0.8273 GB, free: 40.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002279/1.232, allocations: 88 kB / 0.8274 GB, free: 40.21 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003156/1.232, allocations: 196 kB / 0.8276 GB, free: 40.02 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/1.233, allocations: 260 kB / 0.8278 GB, free: 39.76 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006692/1.239, allocations: 2.195 MB / 0.83 GB, free: 37.56 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003832/1.24, allocations: 386.5 kB / 0.8304 GB, free: 37.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006528/1.246, allocations: 459.6 kB / 0.8308 GB, free: 36.73 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.248, allocations: 0.5384 MB / 0.8313 GB, free: 36.2 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.004968/1.253, allocations: 3.144 MB / 0.8344 GB, free: 33.04 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.254, allocations: 0.5432 MB / 0.8349 GB, free: 32.5 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/1.258, allocations: 2.995 MB / 0.8378 GB, free: 29.48 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.258, allocations: 32.47 kB / 0.8379 GB, free: 29.45 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.258, allocations: 0 / 0.8379 GB, free: 29.45 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-05/1.258, allocations: 15.94 kB / 0.8379 GB, free: 29.43 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.278, allocations: 12.23 MB / 0.8498 GB, free: 16.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/1.278, allocations: 32 kB / 0.8499 GB, free: 16.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/1.279, allocations: 0.5499 MB / 0.8504 GB, free: 16.15 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-05/1.279, allocations: 47.98 kB / 0.8505 GB, free: 16.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.28, allocations: 84 kB / 0.8505 GB, free: 16.02 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-05/1.28, allocations: 63.78 kB / 0.8506 GB, free: 15.96 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-05/1.28, allocations: 47.81 kB / 0.8506 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/1.285, allocations: 5.652 MB / 0.8562 GB, free: 9.727 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.286, allocations: 0.5197 MB / 0.8567 GB, free: 9.203 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/1.287, allocations: 91.98 kB / 0.8568 GB, free: 9.113 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/1.288, allocations: 148.7 kB / 0.8569 GB, free: 8.969 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.289, allocations: 283.8 kB / 0.8572 GB, free: 8.691 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.289, allocations: 116 kB / 0.8573 GB, free: 8.578 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004544/1.293, allocations: 3.59 MB / 0.8608 GB, free: 5.02 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/1.293, allocations: 4 kB / 0.8608 GB, free: 5.016 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00646/1.3, allocations: 1.406 MB / 0.8622 GB, free: 3.613 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.006959/1.307, allocations: 6.348 MB / 0.8684 GB, free: 12.72 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01032/1.317, allocations: 5.784 MB / 0.874 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/1.317, allocations: 8 kB / 0.874 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002209/1.319, allocations: 1.297 MB / 0.8753 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/1.323, allocations: 0.7413 MB / 0.876 GB, free: 4.945 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1016/1.425, allocations: 67.68 MB / 0.9421 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006546/1.432, allocations: 4.756 MB / 0.9467 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006101/1.438, allocations: 2.575 MB / 0.9493 GB, free: 15.89 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004227/1.442, allocations: 3.194 MB / 0.9524 GB, free: 12.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.272e-06/1.442, allocations: 0 / 0.9524 GB, free: 12.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/1.847, allocations: 96.82 MB / 1.047 GB, free: 244.5 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.98/28.82, allocations: 12.31 kB / 1.047 GB, free: 244.5 MB / 0.7013 GB " [Timeout remaining time 631] (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 --stepSize=0.00139944 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 32.901051020948216]