Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 108.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0194/0.1327, allocations: 17.63 MB / 0.5046 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1435, allocations: 5.212 MB / 0.5097 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/0.1461, allocations: 103.8 kB / 0.5098 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009925/0.1561, allocations: 5.233 MB / 0.5149 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.1637, allocations: 2.746 MB / 0.5176 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.1667, allocations: 1.182 MB / 0.5188 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.1773, allocations: 7.032 MB / 0.5256 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2144/0.3917, allocations: 6.532 MB / 0.532 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005487/0.3973, allocations: 2.787 MB / 0.5347 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006772/0.4041, allocations: 3.986 MB / 0.5386 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002725/0.4068, allocations: 0.6238 MB / 0.5392 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005228/0.4121, allocations: 1.323 MB / 0.5405 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006192/0.4183, allocations: 3.514 MB / 0.544 GB, free: 6.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008836/0.4272, allocations: 4.022 MB / 0.5479 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.4443, allocations: 12.33 MB / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.4443, allocations: 0 / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4443, allocations: 0 / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005143/0.4449, allocations: 0 / 0.5599 GB, free: 0.875 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02343/0.4683, allocations: 8.476 MB / 0.5682 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4684, allocations: 13.08 kB / 0.5682 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00423/0.4726, allocations: 1.289 MB / 0.5695 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/0.4857, allocations: 2.807 MB / 0.5722 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.4963, allocations: 5.222 MB / 0.5773 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.4967, allocations: 467 kB / 0.5778 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.4999, allocations: 0.5875 MB / 0.5783 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04969/0.5496, allocations: 21.22 MB / 0.5991 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/0.5499, allocations: 70.08 kB / 0.5991 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/0.5509, allocations: 282.5 kB / 0.5994 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006182/0.5571, allocations: 3.547 MB / 0.6029 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04439/0.6015, allocations: 17.2 MB / 0.6197 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09906/0.7006, allocations: 67.67 MB / 0.6857 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/0.7205, allocations: 6.672 MB / 0.6923 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.7252, allocations: 2.338 MB / 0.6945 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02137/0.7467, allocations: 9.798 MB / 0.7041 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.7468, allocations: 67.66 kB / 0.7042 GB, free: 5.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 5.521e-06/0.7468, allocations: 0 / 0.7042 GB, free: 5.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06554/0.8123, allocations: 23.28 MB / 0.7269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8125, allocations: 161.3 kB / 0.7271 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/0.8236, allocations: 6.081 MB / 0.733 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006145/0.8243, allocations: 77.7 kB / 0.7331 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005003/0.8293, allocations: 5.412 MB / 0.7384 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001879/0.8312, allocations: 1.305 MB / 0.7396 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003584/0.8348, allocations: 1.937 MB / 0.7415 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.835, allocations: 308.9 kB / 0.7418 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005645/0.8406, allocations: 2.826 MB / 0.7446 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/0.8516, allocations: 8.637 MB / 0.753 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2378/1.089, allocations: 12.48 MB / 0.7652 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001945/1.09, allocations: 58.38 kB / 0.7652 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.02488/1.115, allocations: 11.22 MB / 0.7762 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.115, allocations: 93.31 kB / 0.7763 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000243/1.115, allocations: 205.1 kB / 0.7765 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003401/1.115, allocations: 272.3 kB / 0.7767 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007818/1.123, allocations: 2.344 MB / 0.779 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004165/1.124, allocations: 407.8 kB / 0.7794 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007835/1.131, allocations: 474.5 kB / 0.7799 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/1.133, allocations: 0.5755 MB / 0.7804 GB, free: 180.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1255): * Single equations (assignments): 1252 * 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.007192/1.141, allocations: 3.392 MB / 0.7838 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009637/1.142, allocations: 0.5739 MB / 0.7843 GB, free: 178.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/1.148, allocations: 3.46 MB / 0.7877 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.305e-05/1.148, allocations: 35.5 kB / 0.7877 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.148, allocations: 4.438 kB / 0.7877 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/1.148, allocations: 17.34 kB / 0.7877 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02778/1.176, allocations: 13.78 MB / 0.8012 GB, free: 170.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.515e-05/1.176, allocations: 35.81 kB / 0.8012 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/1.178, allocations: 0.6101 MB / 0.8018 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.431e-05/1.178, allocations: 48 kB / 0.8019 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.178, allocations: 103.8 kB / 0.802 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.791e-05/1.178, allocations: 70.66 kB / 0.802 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-05/1.178, allocations: 55.75 kB / 0.8021 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006976/1.185, allocations: 6.342 MB / 0.8083 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002341/1.188, allocations: 0.8702 MB / 0.8091 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.189, allocations: 99.27 kB / 0.8092 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/1.192, allocations: 148.3 kB / 0.8094 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005393/1.193, allocations: 290.9 kB / 0.8097 GB, free: 162.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.193, allocations: 135.4 kB / 0.8098 GB, free: 162.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006855/1.2, allocations: 3.77 MB / 0.8135 GB, free: 159 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/1.2, allocations: 4 kB / 0.8135 GB, free: 159 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00954/1.209, allocations: 1.558 MB / 0.815 GB, free: 157.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.006998/1.216, allocations: 7.085 MB / 0.8219 GB, free: 150.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009297/1.226, allocations: 6.55 MB / 0.8283 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.292e-05/1.226, allocations: 9.875 kB / 0.8283 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002195/1.228, allocations: 1.569 MB / 0.8299 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004829/1.233, allocations: 0.7905 MB / 0.8306 GB, free: 142.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08897/1.322, allocations: 72.85 MB / 0.9018 GB, free: 60.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006814/1.329, allocations: 5.132 MB / 0.9068 GB, free: 55.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006198/1.335, allocations: 2.758 MB / 0.9095 GB, free: 52.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005193/1.34, allocations: 3.498 MB / 0.9129 GB, free: 48.9 MB / 0.5919 GB Notification: Performance of SimCode: time 7.52e-07/1.34, allocations: 0 / 0.9129 GB, free: 48.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3775/1.718, allocations: 99.54 MB / 1.01 GB, free: 225.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.61/25.33, allocations: 3.188 kB / 1.01 GB, free: 225.8 MB / 0.6231 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper_fmu --startTime=0 --stopTime=7 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches