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.001638/0.001638, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001552/0.001552, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.557/1.557, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.276/0.276, allocations: 46.95 MB / 360.8 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 179] 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.002383/0.002383, allocations: 83.88 kB / 0.4962 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4369, allocations: 66.08 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01738/0.4543, allocations: 13.97 MB / 0.5743 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.4649, allocations: 4.783 MB / 0.579 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.4672, allocations: 115.5 kB / 0.5791 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00949/0.4767, allocations: 5.023 MB / 0.584 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.484, allocations: 2.56 MB / 0.5865 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.4872, allocations: 1.182 MB / 0.5877 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.4978, allocations: 6.665 MB / 0.5942 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008857/0.5066, allocations: 5.023 MB / 0.5991 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007952/0.5146, allocations: 2.625 MB / 0.6017 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008678/0.5233, allocations: 3.684 MB / 0.6053 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002764/0.526, allocations: 0.5703 MB / 0.6058 GB, free: 5.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.5307, allocations: 1.178 MB / 0.607 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006009/0.5367, allocations: 3.288 MB / 0.6102 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008175/0.5449, allocations: 2.765 MB / 0.6129 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02053/0.5654, allocations: 11.22 MB / 0.6238 GB, free: 3.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.5654, allocations: 0 / 0.6238 GB, free: 3.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5654, allocations: 3.938 kB / 0.6238 GB, free: 3.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005801/0.566, allocations: 0 / 0.6238 GB, free: 3.094 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.02417/0.5902, allocations: 7.74 MB / 0.6314 GB, free: 11.28 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5902, allocations: 8.031 kB / 0.6314 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003849/0.5941, allocations: 1.198 MB / 0.6326 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.6059, allocations: 2.668 MB / 0.6352 GB, free: 7.391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/0.6177, allocations: 4.192 MB / 0.6393 GB, free: 3.145 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005493/0.6182, allocations: 432 kB / 0.6397 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/0.6205, allocations: 0.5466 MB / 0.6402 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04968/0.6702, allocations: 19.87 MB / 0.6596 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003587/0.6706, allocations: 75.38 kB / 0.6597 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002173/0.6727, allocations: 271.8 kB / 0.66 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005818/0.6786, allocations: 3.149 MB / 0.663 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04325/0.7218, allocations: 15.83 MB / 0.6785 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6699/1.392, allocations: 61.63 MB / 0.7387 GB, free: 112.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.408, allocations: 5.673 MB / 0.7442 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003066/1.411, allocations: 1.89 MB / 0.7461 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01606/1.427, allocations: 7.596 MB / 0.7535 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.399e-05/1.427, allocations: 62.78 kB / 0.7535 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.473e-06/1.427, allocations: 0 / 0.7535 GB, free: 110.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05416/1.481, allocations: 21.6 MB / 0.7746 GB, free: 94.14 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/1.482, allocations: 169.9 kB / 0.7748 GB, free: 93.95 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006852/1.488, allocations: 6.11 MB / 0.7808 GB, free: 88.09 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004052/1.489, allocations: 73.7 kB / 0.7808 GB, free: 88.01 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002646/1.491, allocations: 5.03 MB / 0.7857 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.493, allocations: 1.162 MB / 0.7869 GB, free: 81.97 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002202/1.495, allocations: 1.815 MB / 0.7887 GB, free: 80.14 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/1.495, allocations: 301.1 kB / 0.7889 GB, free: 79.85 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003571/1.499, allocations: 2.614 MB / 0.7915 GB, free: 77.23 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005352/1.504, allocations: 8.172 MB / 0.7995 GB, free: 66.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01063/1.515, allocations: 11.71 MB / 0.8109 GB, free: 52.29 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001536/1.515, allocations: 56 kB / 0.811 GB, free: 52.23 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01736/1.532, allocations: 10.51 MB / 0.8212 GB, free: 41.72 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.532, allocations: 88 kB / 0.8213 GB, free: 41.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001984/1.532, allocations: 200.2 kB / 0.8215 GB, free: 41.44 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/1.533, allocations: 260 kB / 0.8218 GB, free: 41.19 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006568/1.539, allocations: 2.187 MB / 0.8239 GB, free: 39 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002149/1.539, allocations: 390.5 kB / 0.8243 GB, free: 38.61 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/1.546, allocations: 459.6 kB / 0.8247 GB, free: 38.16 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008905/1.546, allocations: 0.539 MB / 0.8252 GB, free: 37.62 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.004546/1.551, allocations: 3.14 MB / 0.8283 GB, free: 34.47 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009592/1.552, allocations: 0.5432 MB / 0.8288 GB, free: 33.93 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/1.556, allocations: 2.999 MB / 0.8318 GB, free: 30.91 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/1.556, allocations: 29.03 kB / 0.8318 GB, free: 30.88 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/1.556, allocations: 4 kB / 0.8318 GB, free: 30.88 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/1.556, allocations: 15.95 kB / 0.8318 GB, free: 30.86 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/1.577, allocations: 11.77 MB / 0.8433 GB, free: 18.65 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.763e-05/1.577, allocations: 32 kB / 0.8433 GB, free: 18.62 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.579, allocations: 0.5468 MB / 0.8439 GB, free: 18.07 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-05/1.579, allocations: 44 kB / 0.8439 GB, free: 18.03 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/1.579, allocations: 95.27 kB / 0.844 GB, free: 17.94 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.107e-05/1.579, allocations: 63.78 kB / 0.8441 GB, free: 17.88 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.071e-05/1.579, allocations: 47.81 kB / 0.8441 GB, free: 17.83 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006102/1.585, allocations: 5.634 MB / 0.8496 GB, free: 11.66 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.587, allocations: 0.5279 MB / 0.8501 GB, free: 11.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007207/1.587, allocations: 95.97 kB / 0.8502 GB, free: 11.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.589, allocations: 136.8 kB / 0.8503 GB, free: 10.9 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/1.59, allocations: 283.8 kB / 0.8506 GB, free: 10.62 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/1.59, allocations: 119.8 kB / 0.8507 GB, free: 10.51 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005253/1.595, allocations: 3.594 MB / 0.8542 GB, free: 6.949 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.81e-07/1.595, allocations: 4 kB / 0.8542 GB, free: 6.945 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007477/1.603, allocations: 1.398 MB / 0.8556 GB, free: 5.547 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.007518/1.61, allocations: 6.361 MB / 0.8618 GB, free: 14.65 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.622, allocations: 5.788 MB / 0.8675 GB, free: 8.891 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-05/1.622, allocations: 8 kB / 0.8675 GB, free: 8.883 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002522/1.624, allocations: 1.296 MB / 0.8687 GB, free: 7.59 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006261/1.63, allocations: 0.7574 MB / 0.8695 GB, free: 6.852 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1249/1.755, allocations: 67.65 MB / 0.9355 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008692/1.764, allocations: 4.265 MB / 0.9397 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.007928/1.772, allocations: 2.583 MB / 0.9422 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005536/1.778, allocations: 3.198 MB / 0.9454 GB, free: 15.11 MB / 0.67 GB Notification: Performance of SimCode: time 1.783e-06/1.778, allocations: 0 / 0.9454 GB, free: 15.11 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4755/2.253, allocations: 92.95 MB / 1.036 GB, free: 283.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.82/21.08, allocations: 16.34 kB / 1.036 GB, free: 283.7 MB / 0.7169 GB " [Timeout remaining time 639] (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: 25.39469774113968]