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.001324/0.001324, allocations: 103.9 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.001399/0.001399, allocations: 206.4 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.296/1.296, 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.1994/0.1994, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 76.12 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09846, allocations: 62.43 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01583/0.1143, allocations: 16.08 MB / 496.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009956/0.1243, allocations: 4.989 MB / 0.4895 GB, free: 52 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002488/0.1268, allocations: 99.8 kB / 0.4895 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009147/0.136, allocations: 5.155 MB / 0.4946 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006279/0.1424, allocations: 2.466 MB / 0.497 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.145, allocations: 1.178 MB / 0.4981 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0081/0.1531, allocations: 6.662 MB / 0.5046 GB, free: 464 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1891/0.3422, allocations: 6.34 MB / 0.5108 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.3464, allocations: 2.586 MB / 0.5134 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.3519, allocations: 3.659 MB / 0.5169 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.354, allocations: 0.5735 MB / 0.5175 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.357, allocations: 1.273 MB / 0.5187 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.3601, allocations: 3.207 MB / 0.5219 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003483/0.3636, allocations: 3.665 MB / 0.5254 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008532/0.3722, allocations: 10.74 MB / 0.5359 GB, free: 4.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3722, allocations: 0 / 0.5359 GB, free: 4.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3722, allocations: 2.344 kB / 0.5359 GB, free: 4.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002505/0.3725, allocations: 0 / 0.5359 GB, free: 4.121 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.01256/0.385, allocations: 7.609 MB / 0.5434 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3851, allocations: 8.969 kB / 0.5434 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001655/0.3867, allocations: 1.197 MB / 0.5446 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009543/0.3963, allocations: 2.623 MB / 0.5471 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006817/0.4031, allocations: 4.189 MB / 0.5512 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.4034, allocations: 431.5 kB / 0.5516 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009013/0.4043, allocations: 0.5484 MB / 0.5522 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03675/0.4411, allocations: 19.74 MB / 0.5714 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001685/0.4413, allocations: 74.22 kB / 0.5715 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006615/0.4419, allocations: 268.8 kB / 0.5718 GB, free: 3.633 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004405/0.4464, allocations: 3.154 MB / 0.5748 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/0.4816, allocations: 15.86 MB / 0.5903 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07656/0.5582, allocations: 64.02 MB / 0.6528 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/0.5752, allocations: 6.323 MB / 0.659 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/0.5782, allocations: 2.045 MB / 0.661 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01426/0.5925, allocations: 9.182 MB / 0.67 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.5926, allocations: 61.34 kB / 0.67 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=257): time 5.691e-06/0.5926, allocations: 0 / 0.67 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=291): time 0.06016/0.6527, allocations: 21.38 MB / 0.6909 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.6529, allocations: 160.8 kB / 0.6911 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007981/0.6609, allocations: 5.777 MB / 0.6967 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004389/0.6613, allocations: 69.7 kB / 0.6968 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003025/0.6644, allocations: 4.832 MB / 0.7015 GB, free: 13.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.6655, allocations: 1.114 MB / 0.7026 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.6675, allocations: 1.804 MB / 0.7043 GB, free: 10.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.6676, allocations: 301.1 kB / 0.7046 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004564/0.6722, allocations: 2.61 MB / 0.7072 GB, free: 8.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2227/0.8949, allocations: 8.172 MB / 0.7152 GB, free: 182.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/0.9077, allocations: 11.71 MB / 0.7266 GB, free: 173.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002459/0.908, allocations: 55.56 kB / 0.7267 GB, free: 173.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01903/0.927, allocations: 10.48 MB / 0.7369 GB, free: 169.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.9272, allocations: 87.66 kB / 0.737 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/0.9275, allocations: 196 kB / 0.7372 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.9278, allocations: 266.2 kB / 0.7374 GB, free: 169.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007513/0.9353, allocations: 2.193 MB / 0.7396 GB, free: 169.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003238/0.9357, allocations: 385.2 kB / 0.7399 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/0.942, allocations: 458.6 kB / 0.7404 GB, free: 169 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/0.9431, allocations: 0.5358 MB / 0.7409 GB, free: 168.9 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.004932/0.9481, allocations: 3.152 MB / 0.744 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/0.9488, allocations: 0.5073 MB / 0.7445 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/0.9531, allocations: 2.995 MB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.9531, allocations: 27.31 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.9532, allocations: 3.844 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.9532, allocations: 15.05 kB / 0.7474 GB, free: 166.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/0.9693, allocations: 12.28 MB / 0.7594 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/0.9693, allocations: 32 kB / 0.7595 GB, free: 160.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.9711, allocations: 0.542 MB / 0.76 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.074e-05/0.9712, allocations: 44 kB / 0.76 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.9713, allocations: 93.7 kB / 0.7601 GB, free: 160.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.112e-05/0.9713, allocations: 71.25 kB / 0.7602 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-05/0.9714, allocations: 47.81 kB / 0.7602 GB, free: 160.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.9766, allocations: 5.612 MB / 0.7657 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009822/0.9776, allocations: 0.5758 MB / 0.7663 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000474/0.9781, allocations: 101.5 kB / 0.7664 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/0.9798, allocations: 142.9 kB / 0.7665 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/0.9801, allocations: 271.4 kB / 0.7668 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.9802, allocations: 119.3 kB / 0.7669 GB, free: 153.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004087/0.9843, allocations: 3.592 MB / 0.7704 GB, free: 150.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9843, allocations: 0 / 0.7704 GB, free: 150.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006222/0.9906, allocations: 1.405 MB / 0.7718 GB, free: 149.2 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.005557/0.9961, allocations: 6.322 MB / 0.7779 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009022/1.005, allocations: 6.538 MB / 0.7843 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/1.005, allocations: 5.25 kB / 0.7843 GB, free: 137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/1.007, allocations: 1.374 MB / 0.7857 GB, free: 135.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/1.011, allocations: 0.7615 MB / 0.7864 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06857/1.079, allocations: 81.13 MB / 0.8656 GB, free: 40.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004399/1.084, allocations: 4.752 MB / 0.8703 GB, free: 36.13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005681/1.089, allocations: 2.575 MB / 0.8728 GB, free: 33.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003173/1.092, allocations: 3.194 MB / 0.8759 GB, free: 30.35 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.092, allocations: 0 / 0.8759 GB, free: 30.35 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3172/1.41, allocations: 98.38 MB / 0.972 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.905/11.31, allocations: 6.875 kB / 0.972 GB, free: 175.1 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 & /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