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.001183/0.001183, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008037, allocations: 103.7 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4071/0.4071, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 12 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.411, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5673, allocations: 110.8 MB / 0.6266 GB, free: 10.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.5677, allocations: 83.95 kB / 0.6267 GB, free: 10.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6395/1.207, allocations: 141.3 MB / 0.7647 GB, free: 80.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.995e-06/1.207, allocations: 0 / 0.7647 GB, free: 80.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000427/1.208, allocations: 140 kB / 0.7648 GB, free: 80.04 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.02141/1.229, allocations: 6.665 MB / 0.7713 GB, free: 73.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.229, allocations: 8.031 kB / 0.7713 GB, free: 73.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/1.245, allocations: 3.302 MB / 0.7745 GB, free: 69.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/1.258, allocations: 5.551 MB / 0.7799 GB, free: 64.35 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006208/1.259, allocations: 0.5739 MB / 0.7805 GB, free: 63.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00416/1.263, allocations: 0.7462 MB / 0.7812 GB, free: 63.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04943/1.312, allocations: 20.8 MB / 0.8015 GB, free: 40.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005704/1.313, allocations: 91.33 kB / 0.8016 GB, free: 40.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003721/1.317, allocations: 375.8 kB / 0.802 GB, free: 40.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/1.321, allocations: 1.823 MB / 0.8038 GB, free: 38.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0546/1.375, allocations: 16.63 MB / 0.82 GB, free: 21.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.522/1.897, allocations: 77.07 MB / 0.8953 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01629/1.914, allocations: 6.264 MB / 0.9014 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/1.917, allocations: 2.02 MB / 0.9034 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/1.932, allocations: 9.156 MB / 0.9123 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01299/1.945, allocations: 4.143 MB / 0.9164 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=260): time 5.19e-06/1.945, allocations: 0 / 0.9164 GB, free: 66.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=294): time 0.05942/2.004, allocations: 21.47 MB / 0.9373 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/2.004, allocations: 159.4 kB / 0.9375 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/2.017, allocations: 5.904 MB / 0.9432 GB, free: 61.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005842/2.017, allocations: 67.95 kB / 0.9433 GB, free: 61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005247/2.023, allocations: 5.064 MB / 0.9483 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/2.025, allocations: 1.13 MB / 0.9494 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.026, allocations: 186.6 kB / 0.9495 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001077/2.027, allocations: 0.6977 MB / 0.9502 GB, free: 57.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/2.033, allocations: 2.648 MB / 0.9528 GB, free: 57.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009923/2.043, allocations: 8.223 MB / 0.9608 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/2.057, allocations: 11.8 MB / 0.9724 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002821/2.057, allocations: 56.31 kB / 0.9724 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02256/2.08, allocations: 10.61 MB / 0.9828 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004481/2.08, allocations: 114 kB / 0.9829 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005341/2.081, allocations: 199.5 kB / 0.9831 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/2.081, allocations: 258.7 kB / 0.9833 GB, free: 36.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007721/2.089, allocations: 2.25 MB / 0.9855 GB, free: 36.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004231/2.089, allocations: 390.4 kB / 0.9859 GB, free: 36.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008226/2.098, allocations: 0.5904 MB / 0.9865 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/2.1, allocations: 0.5383 MB / 0.987 GB, free: 36.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1178): * Single equations (assignments): 1174 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008654/2.108, allocations: 3.237 MB / 0.9901 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/2.109, allocations: 0.5245 MB / 0.9907 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006607/2.116, allocations: 2.941 MB / 0.9935 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/2.116, allocations: 35.19 kB / 0.9936 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/2.116, allocations: 2.859 kB / 0.9936 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.34e-05/2.116, allocations: 13.97 kB / 0.9936 GB, free: 30.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02623/2.142, allocations: 12.4 MB / 1.006 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.931e-05/2.143, allocations: 32 kB / 1.006 GB, free: 19.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/2.145, allocations: 0.5404 MB / 1.006 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.046e-05/2.145, allocations: 48 kB / 1.006 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/2.145, allocations: 95.3 kB / 1.006 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.376e-05/2.145, allocations: 62.42 kB / 1.006 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-05/2.145, allocations: 51.75 kB / 1.006 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00699/2.152, allocations: 5.391 MB / 1.012 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/2.154, allocations: 0.5964 MB / 1.012 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/2.155, allocations: 94.78 kB / 1.012 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/2.159, allocations: 207.8 kB / 1.013 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/2.159, allocations: 280.6 kB / 1.013 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/2.159, allocations: 123.5 kB / 1.013 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008103/2.167, allocations: 3.685 MB / 1.017 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/2.167, allocations: 0 / 1.017 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009647/2.177, allocations: 1.485 MB / 1.018 GB, free: 7.625 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 (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009469/2.178, allocations: 269.5 kB / 1.018 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01091/2.189, allocations: 6.036 MB / 1.024 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.741e-05/2.189, allocations: 8 kB / 1.024 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003265/2.192, allocations: 1.63 MB / 1.026 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03014/2.222, allocations: 0.7826 MB / 1.027 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0396/2.262, allocations: 17.56 MB / 1.044 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.274, allocations: 4.884 MB / 1.048 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009935/2.284, allocations: 2.62 MB / 1.051 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/2.285, allocations: 379.4 kB / 1.051 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/2.285, allocations: 0 / 1.051 GB, free: 9.73 MB / 0.5573 GB Notification: Performance of Templates: time 0.09593/2.381, allocations: 44.99 MB / 1.095 GB, free: 13.53 MB / 0.6042 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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