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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 82.31 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3127/0.3127, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1122, allocations: 57.78 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.2493/0.3616, allocations: 87.53 MB / 0.5611 GB, free: 7.527 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03307/0.3947, allocations: 16.73 MB / 0.5774 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01699/0.4117, allocations: 371.1 kB / 0.5778 GB, free: 12.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01017/0.4219, allocations: 5.23 MB / 0.5829 GB, free: 9.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007633/0.4297, allocations: 2.576 MB / 0.5854 GB, free: 8.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.4325, allocations: 1.091 MB / 0.5865 GB, free: 8.211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.4454, allocations: 10.31 MB / 0.5965 GB, free: 4.414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/0.4555, allocations: 6.54 MB / 0.6029 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.4605, allocations: 2.496 MB / 0.6053 GB, free: 12.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.4671, allocations: 4.237 MB / 0.6095 GB, free: 7.957 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.4692, allocations: 484 kB / 0.6099 GB, free: 7.484 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.4731, allocations: 1.229 MB / 0.6111 GB, free: 6.254 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004531/0.4777, allocations: 3.401 MB / 0.6145 GB, free: 2.844 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006387/0.4841, allocations: 3.876 MB / 0.6183 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.4986, allocations: 11.64 MB / 0.6296 GB, free: 3.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4986, allocations: 0 / 0.6296 GB, free: 3.266 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4986, allocations: 0 / 0.6296 GB, free: 3.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004249/0.499, allocations: 4 kB / 0.6296 GB, free: 3.262 MB / 442.7 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.01856/0.5176, allocations: 8.191 MB / 0.6376 GB, free: 10.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5177, allocations: 8.031 kB / 0.6376 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5295, allocations: 2.724 MB / 0.6403 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009973/0.5395, allocations: 3.939 MB / 0.6441 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007724/0.5404, allocations: 464.1 kB / 0.6446 GB, free: 3.789 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003991/0.5444, allocations: 0.5894 MB / 0.6452 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/0.591, allocations: 21.23 MB / 0.6659 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/0.5913, allocations: 67.34 kB / 0.6659 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008356/0.5921, allocations: 287.7 kB / 0.6662 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005256/0.5974, allocations: 3.537 MB / 0.6697 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/0.635, allocations: 17.2 MB / 0.6865 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4059/1.041, allocations: 67.83 MB / 0.7527 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.058, allocations: 6.678 MB / 0.7592 GB, free: 102.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003515/1.061, allocations: 2.292 MB / 0.7615 GB, free: 101.6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/1.078, allocations: 9.777 MB / 0.771 GB, free: 96.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/1.078, allocations: 68.91 kB / 0.7711 GB, free: 96.59 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=296): time 5.31e-06/1.078, allocations: 4 kB / 0.7711 GB, free: 96.59 MB / 0.4949 GB Notification: Performance of matching and sorting (n=330): time 0.05043/1.129, allocations: 22.76 MB / 0.7933 GB, free: 84.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.129, allocations: 162.7 kB / 0.7935 GB, free: 83.91 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005781/1.135, allocations: 6.037 MB / 0.7994 GB, free: 77.85 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003839/1.135, allocations: 81.69 kB / 0.7995 GB, free: 77.77 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001781/1.137, allocations: 5.186 MB / 0.8045 GB, free: 72.52 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008606/1.138, allocations: 1.242 MB / 0.8057 GB, free: 71.26 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001687/1.139, allocations: 1.936 MB / 0.8076 GB, free: 69.31 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 3.841e-05/1.139, allocations: 305.1 kB / 0.8079 GB, free: 69.01 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.143, allocations: 2.855 MB / 0.8107 GB, free: 66.15 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/1.148, allocations: 8.667 MB / 0.8192 GB, free: 54.62 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.158, allocations: 12.52 MB / 0.8314 GB, free: 39.19 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001171/1.159, allocations: 60 kB / 0.8315 GB, free: 39.13 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.01731/1.176, allocations: 11.27 MB / 0.8425 GB, free: 27.82 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/1.176, allocations: 92 kB / 0.8425 GB, free: 27.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/1.176, allocations: 206.8 kB / 0.8427 GB, free: 27.53 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001751/1.176, allocations: 272 kB / 0.843 GB, free: 27.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006545/1.183, allocations: 2.36 MB / 0.8453 GB, free: 24.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002011/1.183, allocations: 410.4 kB / 0.8457 GB, free: 24.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/1.189, allocations: 475 kB / 0.8461 GB, free: 24.04 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009553/1.19, allocations: 0.5742 MB / 0.8467 GB, free: 23.46 MB / 0.4949 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 (1267): * Single equations (assignments): 1264 * 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.003833/1.194, allocations: 3.401 MB / 0.85 GB, free: 20.05 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/1.194, allocations: 0.5398 MB / 0.8506 GB, free: 19.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.199, allocations: 3.45 MB / 0.8539 GB, free: 16 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.199, allocations: 35.98 kB / 0.854 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.199, allocations: 11.88 kB / 0.854 GB, free: 15.95 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.199, allocations: 15.94 kB / 0.854 GB, free: 15.94 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.218, allocations: 13.78 MB / 0.8674 GB, free: 1.602 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.124e-05/1.218, allocations: 32.22 kB / 0.8675 GB, free: 1.57 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.22, allocations: 0.6084 MB / 0.8681 GB, free: 0.9609 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.902e-05/1.22, allocations: 48 kB / 0.8681 GB, free: 0.9141 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/1.22, allocations: 99.98 kB / 0.8682 GB, free: 0.8164 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.19e-05/1.22, allocations: 67.78 kB / 0.8683 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/1.22, allocations: 51.75 kB / 0.8683 GB, free: 0.6992 MB / 0.4949 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.02019/1.24, allocations: 14.58 MB / 0.8826 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.242, allocations: 0.8413 MB / 0.8834 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/1.243, allocations: 99.97 kB / 0.8835 GB, free: 376 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.244, allocations: 147.8 kB / 0.8836 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.1947/1.439, allocations: 296 kB / 0.8839 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004523/1.44, allocations: 133.6 kB / 0.884 GB, free: 151.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006058/1.446, allocations: 3.75 MB / 0.8877 GB, free: 151 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/1.446, allocations: 0 / 0.8877 GB, free: 151 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009831/1.456, allocations: 1.937 MB / 0.8896 GB, free: 151 MB / 0.5105 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.0006899/1.456, allocations: 280 kB / 0.8898 GB, free: 150.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009627/1.466, allocations: 6.504 MB / 0.8962 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.243e-05/1.466, allocations: 3.125 kB / 0.8962 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.468, allocations: 1.574 MB / 0.8977 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.472, allocations: 0.7423 MB / 0.8985 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.496, allocations: 21.21 MB / 0.9192 GB, free: 136.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007253/1.504, allocations: 5.242 MB / 0.9243 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007302/1.511, allocations: 2.775 MB / 0.927 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.512, allocations: 432.5 kB / 0.9274 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/1.512, allocations: 0 / 0.9274 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.08041/1.592, allocations: 52.3 MB / 0.9785 GB, free: 97.63 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches