Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.003157/0.003164, allocations: 183.7 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001168/0.001168, allocations: 91.17 kB / 270.9 MB, free: 8.359 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.5213/0.5213, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005318, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1296, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.4266/0.5563, allocations: 74.97 MB / 0.5519 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05807/0.6144, allocations: 16.76 MB / 0.5683 GB, free: 1.797 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02483/0.6393, allocations: 372.1 kB / 0.5687 GB, free: 1.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02183/0.6612, allocations: 3.738 MB / 0.5723 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06955/0.7309, allocations: 10.55 MB / 0.5826 GB, free: 11.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.741, allocations: 1.071 MB / 0.5837 GB, free: 10.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01593/0.757, allocations: 3.923 MB / 0.5875 GB, free: 6.848 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02781/0.7849, allocations: 8.482 MB / 0.5958 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007033/0.792, allocations: 1.768 MB / 0.5975 GB, free: 12.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008907/0.801, allocations: 2.543 MB / 0.6 GB, free: 9.996 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.8041, allocations: 276 kB / 0.6003 GB, free: 9.727 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/0.8105, allocations: 0.8506 MB / 0.6011 GB, free: 8.875 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008024/0.8186, allocations: 2.833 MB / 0.6039 GB, free: 6.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004922/0.8236, allocations: 1.431 MB / 0.6052 GB, free: 4.594 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02298/0.8467, allocations: 9.364 MB / 0.6144 GB, free: 11.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8467, allocations: 3.938 kB / 0.6144 GB, free: 11.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8468, allocations: 0 / 0.6144 GB, free: 11.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000533/0.8473, allocations: 0 / 0.6144 GB, free: 11.2 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.03128/0.8786, allocations: 6.751 MB / 0.621 GB, free: 4.371 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.8787, allocations: 8.031 kB / 0.621 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03395/0.9127, allocations: 3.271 MB / 0.6242 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02036/0.9331, allocations: 4.393 MB / 0.6285 GB, free: 12.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/0.9342, allocations: 467.6 kB / 0.6289 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004331/0.9386, allocations: 0.5817 MB / 0.6295 GB, free: 11.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1078/1.046, allocations: 21.45 MB / 0.6504 GB, free: 4.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005183/1.047, allocations: 71.33 kB / 0.6505 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003747/1.051, allocations: 287.7 kB / 0.6508 GB, free: 4.629 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01563/1.066, allocations: 3.537 MB / 0.6542 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7238/1.79, allocations: 17.44 MB / 0.6713 GB, free: 127.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/1.915, allocations: 70.41 MB / 0.74 GB, free: 83.39 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07586/1.991, allocations: 14.48 MB / 0.7542 GB, free: 78.29 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03412/2.025, allocations: 14.5 MB / 0.7683 GB, free: 69.52 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/2.025, allocations: 67.62 kB / 0.7684 GB, free: 69.46 MB / 490.8 MB Notification: Performance of pre-optimization done (n=300): time 7.555e-06/2.025, allocations: 4 kB / 0.7684 GB, free: 69.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=334): time 0.2223/2.247, allocations: 41.72 MB / 0.8091 GB, free: 28.14 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/2.247, allocations: 166.7 kB / 0.8093 GB, free: 27.95 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01953/2.267, allocations: 6.356 MB / 0.8155 GB, free: 21.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009365/2.268, allocations: 81.7 kB / 0.8156 GB, free: 21.49 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0056/2.274, allocations: 5.048 MB / 0.8205 GB, free: 16.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002451/2.276, allocations: 1.255 MB / 0.8217 GB, free: 15.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/2.277, allocations: 203.3 kB / 0.8219 GB, free: 15.01 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007282/2.278, allocations: 0.7203 MB / 0.8226 GB, free: 14.28 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008876/2.287, allocations: 3.197 MB / 0.8258 GB, free: 11.07 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.3, allocations: 8.971 MB / 0.8345 GB, free: 15.23 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/2.314, allocations: 5.175 MB / 0.8396 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001937/2.315, allocations: 59.95 kB / 0.8396 GB, free: 9.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1283) (initialization): time 0.0366/2.351, allocations: 11.91 MB / 0.8513 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/2.351, allocations: 92.94 kB / 0.8514 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000356/2.352, allocations: 204 kB / 0.8515 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/2.354, allocations: 0.5287 MB / 0.8521 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/2.37, allocations: 2.406 MB / 0.8544 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/2.375, allocations: 2.724 MB / 0.8571 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/2.385, allocations: 0.5345 MB / 0.8576 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/2.387, allocations: 0.5703 MB / 0.8582 GB, free: 6.824 MB / 0.5105 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 (1256): * Single equations (assignments): 1252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009628/2.397, allocations: 3.4 MB / 0.8615 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/2.398, allocations: 0.5437 MB / 0.862 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3595/2.758, allocations: 4.342 MB / 0.8662 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.856e-05/2.758, allocations: 38.61 kB / 0.8663 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/2.758, allocations: 2.578 kB / 0.8663 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.102e-05/2.758, allocations: 19.17 kB / 0.8663 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04029/2.798, allocations: 13.66 MB / 0.8796 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-05/2.798, allocations: 25.75 kB / 0.8797 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005169/2.804, allocations: 0.6336 MB / 0.8803 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.209e-05/2.804, allocations: 47.78 kB / 0.8803 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/2.804, allocations: 99.14 kB / 0.8804 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.838e-05/2.804, allocations: 61.09 kB / 0.8805 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-05/2.804, allocations: 51.5 kB / 0.8805 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/2.82, allocations: 11.87 MB / 0.8921 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003323/2.823, allocations: 0.8824 MB / 0.893 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/2.825, allocations: 99.08 kB / 0.8931 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0047/2.83, allocations: 170.4 kB / 0.8932 GB, free: 139.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008789/2.831, allocations: 275.8 kB / 0.8935 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/2.831, allocations: 137.4 kB / 0.8936 GB, free: 139.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009816/2.841, allocations: 3.986 MB / 0.8975 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/2.841, allocations: 0 / 0.8975 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01117/2.852, allocations: 1.623 MB / 0.8991 GB, free: 137.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 128 * 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 (319): * Single equations (assignments): 316 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001282/2.853, allocations: 286.2 kB / 0.8994 GB, free: 137.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01892/2.872, allocations: 7.174 MB / 0.9064 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-05/2.872, allocations: 6.469 kB / 0.9064 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004992/2.877, allocations: 1.685 MB / 0.908 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006063/2.883, allocations: 0.7064 MB / 0.9087 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04658/2.93, allocations: 19.58 MB / 0.9279 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/2.942, allocations: 5.296 MB / 0.933 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/2.945, allocations: 495.7 kB / 0.9335 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.103e-06/2.945, allocations: 0 / 0.9335 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1959/3.141, allocations: 104.4 MB / 1.035 GB, free: 19.03 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches