Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 104.1 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3691/0.3691, allocations: 44.12 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 63.89 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3487, allocations: 60.79 MB / 0.5064 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.07093/0.4197, allocations: 86.33 MB / 0.5907 GB, free: 7.656 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04688/0.4666, allocations: 16.55 MB / 0.6069 GB, free: 8.941 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02469/0.4913, allocations: 363.2 kB / 0.6072 GB, free: 8.586 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.502, allocations: 5.209 MB / 0.6123 GB, free: 3.363 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007259/0.5093, allocations: 2.41 MB / 0.6146 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.512, allocations: 1.084 MB / 0.6157 GB, free: 15.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01248/0.5245, allocations: 9.757 MB / 0.6252 GB, free: 6.09 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00913/0.5337, allocations: 6.398 MB / 0.6315 GB, free: 15.62 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.5382, allocations: 2.375 MB / 0.6338 GB, free: 13.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006512/0.5448, allocations: 3.992 MB / 0.6377 GB, free: 9.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001907/0.5467, allocations: 460 kB / 0.6381 GB, free: 8.781 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.5497, allocations: 1.217 MB / 0.6393 GB, free: 7.562 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003022/0.5527, allocations: 3.226 MB / 0.6425 GB, free: 4.328 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004183/0.5569, allocations: 3.67 MB / 0.6461 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.5678, allocations: 10.97 MB / 0.6568 GB, free: 5.633 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.5679, allocations: 0 / 0.6568 GB, free: 5.633 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5679, allocations: 0 / 0.6568 GB, free: 5.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004075/0.5683, allocations: 0 / 0.6568 GB, free: 5.633 MB / 474.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.01696/0.5853, allocations: 7.794 MB / 0.6644 GB, free: 13.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5853, allocations: 12.03 kB / 0.6644 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.5962, allocations: 2.659 MB / 0.667 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008621/0.6049, allocations: 3.673 MB / 0.6706 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/0.6053, allocations: 443.4 kB / 0.671 GB, free: 6.902 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.6068, allocations: 0.5582 MB / 0.6715 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.451/1.058, allocations: 20.27 MB / 0.6913 GB, free: 125.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001735/1.058, allocations: 73.69 kB / 0.6914 GB, free: 125.1 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006584/1.059, allocations: 271.6 kB / 0.6917 GB, free: 124.9 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/1.063, allocations: 3.342 MB / 0.6949 GB, free: 124.4 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03702/1.1, allocations: 16.28 MB / 0.7108 GB, free: 120.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06956/1.17, allocations: 65.33 MB / 0.7746 GB, free: 62.03 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01533/1.185, allocations: 6.279 MB / 0.7808 GB, free: 55.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/1.188, allocations: 2.05 MB / 0.7828 GB, free: 53.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.201, allocations: 9.136 MB / 0.7917 GB, free: 44.09 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.202, allocations: 64.5 kB / 0.7917 GB, free: 44.02 MB / 490.8 MB Notification: Performance of pre-optimization done (n=257): time 4.708e-06/1.202, allocations: 0 / 0.7917 GB, free: 44.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=291): time 0.04949/1.251, allocations: 21.3 MB / 0.8125 GB, free: 22.63 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/1.251, allocations: 154.5 kB / 0.8127 GB, free: 22.45 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006244/1.257, allocations: 5.849 MB / 0.8184 GB, free: 16.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004218/1.258, allocations: 65.7 kB / 0.8185 GB, free: 16.56 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001904/1.26, allocations: 4.958 MB / 0.8233 GB, free: 11.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007506/1.261, allocations: 1.118 MB / 0.8244 GB, free: 10.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/1.262, allocations: 1.829 MB / 0.8262 GB, free: 8.555 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.476e-05/1.262, allocations: 305.1 kB / 0.8265 GB, free: 8.254 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/1.265, allocations: 2.622 MB / 0.829 GB, free: 5.625 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006006/1.271, allocations: 8.244 MB / 0.8371 GB, free: 10.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/1.284, allocations: 11.81 MB / 0.8486 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/1.284, allocations: 56 kB / 0.8487 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02013/1.305, allocations: 10.58 MB / 0.859 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.305, allocations: 88 kB / 0.8591 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000252/1.305, allocations: 200 kB / 0.8593 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/1.305, allocations: 260 kB / 0.8595 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00707/1.312, allocations: 2.219 MB / 0.8617 GB, free: 14.61 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003145/1.313, allocations: 391.4 kB / 0.8621 GB, free: 14.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/1.319, allocations: 451.9 kB / 0.8625 GB, free: 13.79 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/1.321, allocations: 0.5469 MB / 0.863 GB, free: 13.24 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.00599/1.327, allocations: 3.23 MB / 0.8662 GB, free: 9.996 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009679/1.328, allocations: 0.5206 MB / 0.8667 GB, free: 9.469 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005067/1.333, allocations: 2.961 MB / 0.8696 GB, free: 6.488 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.515e-05/1.333, allocations: 35.94 kB / 0.8696 GB, free: 6.453 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.333, allocations: 0 / 0.8696 GB, free: 6.453 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.333, allocations: 15.95 kB / 0.8696 GB, free: 6.438 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2626/1.596, allocations: 12.43 MB / 0.8818 GB, free: 152.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.018e-05/1.596, allocations: 31.56 kB / 0.8818 GB, free: 152.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.598, allocations: 0.534 MB / 0.8823 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.512e-05/1.598, allocations: 43.38 kB / 0.8824 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/1.598, allocations: 93.27 kB / 0.8825 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.799e-05/1.598, allocations: 64.17 kB / 0.8825 GB, free: 152.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.28e-05/1.598, allocations: 51.81 kB / 0.8826 GB, free: 152.6 MB / 0.5262 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.02001/1.618, allocations: 13.4 MB / 0.8957 GB, free: 146.4 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.619, allocations: 0.5916 MB / 0.8962 GB, free: 146 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005663/1.62, allocations: 94.77 kB / 0.8963 GB, free: 145.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.622, allocations: 127.6 kB / 0.8964 GB, free: 145.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/1.622, allocations: 271.7 kB / 0.8967 GB, free: 145.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.622, allocations: 121.7 kB / 0.8968 GB, free: 145.8 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.005878/1.628, allocations: 3.624 MB / 0.9004 GB, free: 144.6 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.71e-07/1.628, allocations: 3.594 kB / 0.9004 GB, free: 144.6 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008837/1.637, allocations: 1.822 MB / 0.9021 GB, free: 144.4 MB / 0.5262 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.0007947/1.638, allocations: 272 kB / 0.9024 GB, free: 144.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.648, allocations: 5.963 MB / 0.9082 GB, free: 142.3 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-05/1.648, allocations: 8.5 kB / 0.9082 GB, free: 142.3 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.002307/1.651, allocations: 1.34 MB / 0.9095 GB, free: 141.9 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004976/1.656, allocations: 0.7554 MB / 0.9103 GB, free: 141.6 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/1.682, allocations: 19.69 MB / 0.9295 GB, free: 130 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006378/1.689, allocations: 4.98 MB / 0.9344 GB, free: 128.3 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.007448/1.696, allocations: 2.623 MB / 0.9369 GB, free: 128.1 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.697, allocations: 393.1 kB / 0.9373 GB, free: 128 MB / 0.5262 GB Notification: Performance of SimCode: time 1.683e-06/1.697, allocations: 4 kB / 0.9373 GB, free: 128 MB / 0.5262 GB Notification: Performance of Templates: time 0.08204/1.779, allocations: 48.98 MB / 0.9851 GB, free: 86.46 MB / 0.5262 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches