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/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.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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, 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.411/1.411, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 108.5 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4292/0.4292, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4075, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.07711/0.4846, allocations: 86.35 MB / 0.5995 GB, free: 3.012 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04752/0.5322, allocations: 16.57 MB / 0.6157 GB, free: 2.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02473/0.557, allocations: 371.1 kB / 0.616 GB, free: 2.016 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.5681, allocations: 5.174 MB / 0.6211 GB, free: 12.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009778/0.578, allocations: 2.393 MB / 0.6234 GB, free: 10.43 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.5818, allocations: 1.084 MB / 0.6245 GB, free: 9.34 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0142/0.596, allocations: 9.945 MB / 0.6342 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.607, allocations: 6.394 MB / 0.6404 GB, free: 8.918 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005762/0.6128, allocations: 2.375 MB / 0.6427 GB, free: 6.535 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007428/0.6203, allocations: 3.984 MB / 0.6466 GB, free: 2.539 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002825/0.6231, allocations: 460 kB / 0.6471 GB, free: 2.09 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.6279, allocations: 1.202 MB / 0.6482 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005229/0.6331, allocations: 3.238 MB / 0.6514 GB, free: 13.64 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00779/0.641, allocations: 3.662 MB / 0.655 GB, free: 9.957 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.015/0.656, allocations: 10.95 MB / 0.6657 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.656, allocations: 0 / 0.6657 GB, free: 14.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.656, allocations: 0 / 0.6657 GB, free: 14.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005182/0.6566, allocations: 0 / 0.6657 GB, free: 14.97 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0212/0.6778, allocations: 7.798 MB / 0.6733 GB, free: 7.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.6778, allocations: 12.03 kB / 0.6733 GB, free: 7.078 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.6889, allocations: 2.666 MB / 0.6759 GB, free: 4.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008952/0.6979, allocations: 3.592 MB / 0.6794 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000489/0.6984, allocations: 435.5 kB / 0.6798 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4675/1.166, allocations: 0.5583 MB / 0.6804 GB, free: 132.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04304/1.209, allocations: 20.28 MB / 0.7002 GB, free: 124.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000296/1.209, allocations: 66.91 kB / 0.7002 GB, free: 124.9 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001159/1.21, allocations: 277.2 kB / 0.7005 GB, free: 124.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00593/1.216, allocations: 3.337 MB / 0.7038 GB, free: 124.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04185/1.258, allocations: 16.29 MB / 0.7197 GB, free: 116.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/1.359, allocations: 65.32 MB / 0.7834 GB, free: 50.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02415/1.383, allocations: 6.287 MB / 0.7896 GB, free: 43.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004208/1.387, allocations: 2.046 MB / 0.7916 GB, free: 41.71 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/1.407, allocations: 9.141 MB / 0.8005 GB, free: 32.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.407, allocations: 60.56 kB / 0.8006 GB, free: 32.18 MB / 490.8 MB Notification: Performance of pre-optimization done (n=257): time 6.302e-06/1.407, allocations: 7.875 kB / 0.8006 GB, free: 32.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=291): time 0.0572/1.465, allocations: 21.29 MB / 0.8214 GB, free: 10.81 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/1.465, allocations: 162.5 kB / 0.8215 GB, free: 10.62 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006566/1.471, allocations: 5.841 MB / 0.8272 GB, free: 4.805 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004588/1.472, allocations: 69.7 kB / 0.8273 GB, free: 4.73 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.474, allocations: 4.966 MB / 0.8321 GB, free: 15.69 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.475, allocations: 1.115 MB / 0.8332 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002356/1.478, allocations: 1.833 MB / 0.835 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.478, allocations: 305.1 kB / 0.8353 GB, free: 12.41 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/1.482, allocations: 2.626 MB / 0.8379 GB, free: 9.781 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008009/1.49, allocations: 8.236 MB / 0.8459 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.504, allocations: 11.81 MB / 0.8575 GB, free: 176 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/1.504, allocations: 64 kB / 0.8575 GB, free: 112 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02037/1.524, allocations: 10.58 MB / 0.8678 GB, free: 5.527 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002412/1.525, allocations: 92 kB / 0.8679 GB, free: 5.438 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003039/1.525, allocations: 196 kB / 0.8681 GB, free: 5.246 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/1.525, allocations: 264 kB / 0.8684 GB, free: 4.988 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00736/1.533, allocations: 2.215 MB / 0.8705 GB, free: 2.77 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003874/1.533, allocations: 390.5 kB / 0.8709 GB, free: 2.387 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005922/1.539, allocations: 447.5 kB / 0.8713 GB, free: 1.949 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.54, allocations: 0.5508 MB / 0.8719 GB, free: 1.398 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (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 (1192): * Single equations (assignments): 1189 * 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.006007/1.546, allocations: 3.226 MB / 0.875 GB, free: 14.16 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/1.548, allocations: 0.5206 MB / 0.8755 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00592/1.554, allocations: 2.971 MB / 0.8784 GB, free: 10.64 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/1.554, allocations: 32 kB / 0.8785 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.554, allocations: 480 / 0.8785 GB, free: 10.61 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.554, allocations: 11.95 kB / 0.8785 GB, free: 10.6 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2799/1.834, allocations: 12.44 MB / 0.8906 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.359e-05/1.834, allocations: 32.06 kB / 0.8906 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/1.836, allocations: 0.5317 MB / 0.8912 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-05/1.836, allocations: 46.41 kB / 0.8912 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.836, allocations: 90.77 kB / 0.8913 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.802e-05/1.836, allocations: 68.06 kB / 0.8914 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.547e-05/1.836, allocations: 52.56 kB / 0.8914 GB, free: 167.4 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.01778/1.854, allocations: 13.4 MB / 0.9045 GB, free: 161.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008699/1.855, allocations: 0.5854 MB / 0.9051 GB, free: 161.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/1.855, allocations: 93.16 kB / 0.9052 GB, free: 161.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.857, allocations: 123.7 kB / 0.9053 GB, free: 161.2 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.857, allocations: 280.1 kB / 0.9055 GB, free: 161.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.857, allocations: 116.1 kB / 0.9057 GB, free: 161.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005014/1.862, allocations: 3.625 MB / 0.9092 GB, free: 159.9 MB / 0.5418 GB Notification: Performance of sort global known variables: time 3.31e-07/1.862, allocations: 0 / 0.9092 GB, free: 159.9 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01512/1.878, allocations: 1.827 MB / 0.911 GB, free: 159.7 MB / 0.5418 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.00121/1.879, allocations: 267.1 kB / 0.9112 GB, free: 159.5 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01658/1.895, allocations: 5.968 MB / 0.9171 GB, free: 157.6 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.064e-05/1.895, allocations: 4.5 kB / 0.9171 GB, free: 157.6 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004043/1.9, allocations: 1.341 MB / 0.9184 GB, free: 157.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008646/1.908, allocations: 0.7452 MB / 0.9191 GB, free: 156.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04364/1.952, allocations: 19.71 MB / 0.9383 GB, free: 145.3 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008136/1.96, allocations: 4.978 MB / 0.9432 GB, free: 143.6 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006777/1.967, allocations: 2.627 MB / 0.9458 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.968, allocations: 396.1 kB / 0.9462 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of SimCode: time 1.092e-06/1.968, allocations: 0 / 0.9462 GB, free: 143.3 MB / 0.5418 GB Notification: Performance of Templates: time 0.07752/2.046, allocations: 48.97 MB / 0.994 GB, free: 100.1 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches