Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001182, 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.329/1.329, 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.001395/0.001395, allocations: 114.7 kB / 291.9 MB, free: 10.95 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.3558/0.3558, allocations: 44.12 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 51.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3719, allocations: 60.8 MB / 0.5064 GB, free: 38.34 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.07138/0.4433, allocations: 86.4 MB / 0.5908 GB, free: 7.652 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04281/0.4862, allocations: 16.6 MB / 0.607 GB, free: 8.848 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/0.5063, allocations: 371.1 kB / 0.6073 GB, free: 8.484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.5179, allocations: 5.194 MB / 0.6124 GB, free: 3.277 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.5257, allocations: 2.421 MB / 0.6148 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.5296, allocations: 1.1 MB / 0.6158 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01635/0.5459, allocations: 9.804 MB / 0.6254 GB, free: 5.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01084/0.5568, allocations: 6.413 MB / 0.6317 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005545/0.5624, allocations: 2.394 MB / 0.634 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01037/0.5728, allocations: 4.004 MB / 0.6379 GB, free: 9.023 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003426/0.5763, allocations: 460 kB / 0.6384 GB, free: 8.574 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007413/0.5838, allocations: 1.225 MB / 0.6396 GB, free: 7.348 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007772/0.5916, allocations: 3.238 MB / 0.6427 GB, free: 4.102 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0105/0.6022, allocations: 3.678 MB / 0.6463 GB, free: 412 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02309/0.6253, allocations: 11 MB / 0.657 GB, free: 5.367 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.6254, allocations: 0 / 0.657 GB, free: 5.367 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6254, allocations: 4 kB / 0.6571 GB, free: 5.363 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000534/0.6259, allocations: 0 / 0.6571 GB, free: 5.363 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: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.03086/0.6568, allocations: 7.883 MB / 0.6648 GB, free: 13.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.6569, allocations: 12.02 kB / 0.6648 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.6756, allocations: 2.659 MB / 0.6674 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.6873, allocations: 3.681 MB / 0.671 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004979/0.6878, allocations: 443.5 kB / 0.6714 GB, free: 6.527 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.6901, allocations: 0.566 MB / 0.6719 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2781/0.9682, allocations: 20.31 MB / 0.6918 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/0.9684, allocations: 69.84 kB / 0.6918 GB, free: 126.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009494/0.9694, allocations: 273.3 kB / 0.6921 GB, free: 126.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004391/0.9738, allocations: 3.339 MB / 0.6954 GB, free: 126 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04018/1.014, allocations: 16.35 MB / 0.7113 GB, free: 121.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07072/1.085, allocations: 65.4 MB / 0.7752 GB, free: 63.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/1.1, allocations: 6.367 MB / 0.7814 GB, free: 56.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/1.103, allocations: 2.079 MB / 0.7834 GB, free: 54.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.117, allocations: 9.163 MB / 0.7924 GB, free: 45.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01276/1.13, allocations: 4.151 MB / 0.7964 GB, free: 40.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=260): time 5.601e-06/1.13, allocations: 8 kB / 0.7964 GB, free: 40.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=294): time 0.05511/1.185, allocations: 21.52 MB / 0.8175 GB, free: 19.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/1.185, allocations: 158.5 kB / 0.8176 GB, free: 19.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008227/1.193, allocations: 5.866 MB / 0.8233 GB, free: 13.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.194, allocations: 73.69 kB / 0.8234 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003081/1.197, allocations: 5.056 MB / 0.8283 GB, free: 8.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.198, allocations: 1.13 MB / 0.8294 GB, free: 6.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001801/1.2, allocations: 1.841 MB / 0.8312 GB, free: 5.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/1.2, allocations: 305.1 kB / 0.8315 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/1.203, allocations: 2.661 MB / 0.8341 GB, free: 2.051 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008502/1.212, allocations: 8.276 MB / 0.8422 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.226, allocations: 11.9 MB / 0.8538 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001457/1.226, allocations: 56 kB / 0.8539 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.02396/1.25, allocations: 10.69 MB / 0.8643 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/1.25, allocations: 117.7 kB / 0.8644 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002771/1.251, allocations: 196 kB / 0.8646 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/1.251, allocations: 264 kB / 0.8649 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.258, allocations: 2.227 MB / 0.8671 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003405/1.258, allocations: 398.5 kB / 0.8674 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005903/1.264, allocations: 459.4 kB / 0.8679 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/1.266, allocations: 0.5508 MB / 0.8684 GB, free: 9.348 MB / 0.5261 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.005807/1.272, allocations: 3.241 MB / 0.8716 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.273, allocations: 0.5206 MB / 0.8721 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/1.279, allocations: 3.037 MB / 0.8751 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/1.279, allocations: 31.98 kB / 0.8751 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.279, allocations: 7.938 kB / 0.8751 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/1.279, allocations: 11.95 kB / 0.8751 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2703/1.549, allocations: 12.42 MB / 0.8872 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-05/1.549, allocations: 31.7 kB / 0.8873 GB, free: 154.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/1.551, allocations: 0.5773 MB / 0.8878 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.68e-05/1.551, allocations: 44.31 kB / 0.8879 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/1.552, allocations: 93.44 kB / 0.888 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-05/1.552, allocations: 67.64 kB / 0.888 GB, free: 154.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.227e-05/1.552, allocations: 47.75 kB / 0.8881 GB, free: 154.5 MB / 0.5261 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.02137/1.573, allocations: 13.66 MB / 0.9014 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009885/1.574, allocations: 0.5909 MB / 0.902 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/1.575, allocations: 87.67 kB / 0.9021 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.576, allocations: 139.2 kB / 0.9022 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/1.577, allocations: 287.7 kB / 0.9025 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.577, allocations: 118.3 kB / 0.9026 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005685/1.583, allocations: 3.641 MB / 0.9061 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.12e-07/1.583, allocations: 0 / 0.9061 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009024/1.592, allocations: 1.837 MB / 0.9079 GB, free: 146.4 MB / 0.5261 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.0006929/1.592, allocations: 269.2 kB / 0.9082 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.603, allocations: 6.085 MB / 0.9141 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.62e-05/1.603, allocations: 6.438 kB / 0.9141 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003125/1.606, allocations: 1.654 MB / 0.9158 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/1.61, allocations: 0.7579 MB / 0.9165 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.635, allocations: 19.76 MB / 0.9358 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007469/1.643, allocations: 4.974 MB / 0.9407 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007172/1.65, allocations: 2.626 MB / 0.9432 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.651, allocations: 398.9 kB / 0.9436 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/1.651, allocations: 0 / 0.9436 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.08236/1.734, allocations: 49.91 MB / 0.9923 GB, free: 83.46 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches