Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 100.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4136/0.4136, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4193, allocations: 62.02 MB / 0.5151 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.07401/0.4933, allocations: 86.41 MB / 0.5995 GB, free: 2.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0449/0.5382, allocations: 16.61 MB / 0.6158 GB, free: 2.246 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02161/0.5599, allocations: 371.1 kB / 0.6161 GB, free: 1.883 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.5711, allocations: 5.178 MB / 0.6212 GB, free: 12.69 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008838/0.58, allocations: 2.405 MB / 0.6235 GB, free: 10.28 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003634/0.5837, allocations: 1.096 MB / 0.6246 GB, free: 9.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0144/0.5981, allocations: 9.992 MB / 0.6343 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.6127, allocations: 6.41 MB / 0.6406 GB, free: 8.691 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006788/0.6195, allocations: 2.398 MB / 0.6429 GB, free: 6.285 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008621/0.6282, allocations: 4.004 MB / 0.6469 GB, free: 2.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003204/0.6314, allocations: 464 kB / 0.6473 GB, free: 1.816 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005076/0.6365, allocations: 1.202 MB / 0.6485 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006098/0.6427, allocations: 3.238 MB / 0.6516 GB, free: 13.36 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008079/0.6508, allocations: 3.674 MB / 0.6552 GB, free: 9.668 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.6675, allocations: 10.98 MB / 0.666 GB, free: 14.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6675, allocations: 4 kB / 0.666 GB, free: 14.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6675, allocations: 4 kB / 0.666 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005816/0.6681, allocations: 0 / 0.666 GB, free: 14.64 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02454/0.6927, allocations: 7.88 MB / 0.6737 GB, free: 6.672 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6927, allocations: 8.031 kB / 0.6737 GB, free: 6.664 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.7041, allocations: 2.659 MB / 0.6763 GB, free: 3.992 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.7145, allocations: 3.607 MB / 0.6798 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4543/1.169, allocations: 447.9 kB / 0.6802 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/1.172, allocations: 0.5563 MB / 0.6808 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04507/1.217, allocations: 20.31 MB / 0.7006 GB, free: 124.8 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/1.218, allocations: 73.16 kB / 0.7007 GB, free: 124.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001148/1.219, allocations: 274.3 kB / 0.7009 GB, free: 124.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006176/1.225, allocations: 3.336 MB / 0.7042 GB, free: 124 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03786/1.263, allocations: 16.35 MB / 0.7201 GB, free: 116.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06943/1.332, allocations: 65.4 MB / 0.784 GB, free: 49.45 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01569/1.348, allocations: 6.351 MB / 0.7902 GB, free: 42.95 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/1.351, allocations: 2.071 MB / 0.7922 GB, free: 40.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01525/1.367, allocations: 9.171 MB / 0.8012 GB, free: 31.37 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01285/1.379, allocations: 4.156 MB / 0.8052 GB, free: 27.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=260): time 8.166e-06/1.379, allocations: 3.984 kB / 0.8052 GB, free: 27.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=294): time 0.05895/1.438, allocations: 21.53 MB / 0.8263 GB, free: 5.566 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.439, allocations: 166.5 kB / 0.8264 GB, free: 5.375 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.449, allocations: 5.854 MB / 0.8321 GB, free: 15.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007943/1.45, allocations: 73.7 kB / 0.8322 GB, free: 15.42 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005217/1.455, allocations: 5.064 MB / 0.8372 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001562/1.457, allocations: 1.13 MB / 0.8383 GB, free: 9.141 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002651/1.46, allocations: 1.841 MB / 0.8401 GB, free: 7.285 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/1.46, allocations: 301.1 kB / 0.8404 GB, free: 6.988 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/1.464, allocations: 2.665 MB / 0.843 GB, free: 4.316 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008503/1.472, allocations: 8.279 MB / 0.851 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.488, allocations: 11.91 MB / 0.8627 GB, free: 10.56 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002088/1.488, allocations: 56 kB / 0.8627 GB, free: 10.5 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.022/1.51, allocations: 10.68 MB / 0.8732 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004438/1.51, allocations: 122.6 kB / 0.8733 GB, free: 15.69 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005898/1.511, allocations: 197 kB / 0.8735 GB, free: 15.5 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/1.512, allocations: 264 kB / 0.8737 GB, free: 15.24 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00763/1.519, allocations: 2.23 MB / 0.8759 GB, free: 13 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004253/1.52, allocations: 386.5 kB / 0.8763 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.526, allocations: 459.5 kB / 0.8767 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001436/1.527, allocations: 0.5508 MB / 0.8772 GB, free: 11.62 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1196): * Single equations (assignments): 1192 * Array equations: 3 * Algorithm blocks: 1 * 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.006427/1.534, allocations: 3.241 MB / 0.8804 GB, free: 8.367 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.535, allocations: 0.5206 MB / 0.8809 GB, free: 7.84 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006807/1.542, allocations: 3.043 MB / 0.8839 GB, free: 4.777 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/1.542, allocations: 35.98 kB / 0.8839 GB, free: 4.742 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.542, allocations: 0 / 0.8839 GB, free: 4.742 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/1.542, allocations: 11.95 kB / 0.8839 GB, free: 4.73 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2701/1.812, allocations: 12.42 MB / 0.8961 GB, free: 168.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.998e-05/1.812, allocations: 33.31 kB / 0.8961 GB, free: 168.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/1.814, allocations: 0.581 MB / 0.8967 GB, free: 168.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-05/1.814, allocations: 42.78 kB / 0.8967 GB, free: 168.3 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.815, allocations: 93.95 kB / 0.8968 GB, free: 168.3 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.394e-05/1.815, allocations: 68.94 kB / 0.8968 GB, free: 168.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/1.815, allocations: 49.84 kB / 0.8969 GB, free: 168.2 MB / 0.5418 GB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/1.835, allocations: 13.64 MB / 0.9102 GB, free: 162.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.836, allocations: 0.5907 MB / 0.9108 GB, free: 161.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/1.837, allocations: 92.97 kB / 0.9109 GB, free: 161.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.839, allocations: 148.5 kB / 0.911 GB, free: 161.6 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.839, allocations: 280.9 kB / 0.9113 GB, free: 161.5 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.839, allocations: 124.4 kB / 0.9114 GB, free: 161.5 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005699/1.845, allocations: 3.639 MB / 0.915 GB, free: 160.3 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.11e-07/1.845, allocations: 0 / 0.915 GB, free: 160.3 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008048/1.853, allocations: 1.825 MB / 0.9168 GB, free: 160.1 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007067/1.854, allocations: 272.6 kB / 0.917 GB, free: 160 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01005/1.864, allocations: 6.085 MB / 0.923 GB, free: 158 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.764e-05/1.864, allocations: 4.875 kB / 0.923 GB, free: 158 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.003043/1.867, allocations: 1.653 MB / 0.9246 GB, free: 157.4 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.871, allocations: 0.753 MB / 0.9253 GB, free: 157.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/1.894, allocations: 19.75 MB / 0.9446 GB, free: 145.4 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005472/1.899, allocations: 4.982 MB / 0.9495 GB, free: 143.7 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007007/1.907, allocations: 2.621 MB / 0.952 GB, free: 142 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/1.908, allocations: 394.6 kB / 0.9524 GB, free: 141.6 MB / 0.5418 GB Notification: Performance of SimCode: time 5.81e-07/1.908, allocations: 0 / 0.9524 GB, free: 141.6 MB / 0.5418 GB Notification: Performance of Templates: time 0.07865/1.987, allocations: 49.91 MB / 1.001 GB, free: 93.92 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches