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.0009673/0.0009673, allocations: 178.6 kB / 18.09 MB, free: 3.75 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.332/1.332, allocations: 223.3 MB / 242.1 MB, free: 9.941 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.0008897/0.00089, allocations: 96.97 kB / 293.3 MB, free: 10.55 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.3426/0.3426, allocations: 44.14 MB / 388.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 12 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3735, allocations: 61.88 MB / 0.5107 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.5187, allocations: 109.5 MB / 0.6176 GB, free: 1.594 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.519, allocations: 79.95 kB / 0.6177 GB, free: 1.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5948/1.114, allocations: 138.6 MB / 0.753 GB, free: 86.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.114, allocations: 0 / 0.753 GB, free: 86.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004563/1.114, allocations: 139.2 kB / 0.7532 GB, free: 86.98 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.02371/1.138, allocations: 6.554 MB / 0.7596 GB, free: 82.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.138, allocations: 9.969 kB / 0.7596 GB, free: 82.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/1.154, allocations: 3.296 MB / 0.7628 GB, free: 81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/1.168, allocations: 5.815 MB / 0.7685 GB, free: 77.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/1.169, allocations: 0.5697 MB / 0.769 GB, free: 77.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004631/1.174, allocations: 0.7491 MB / 0.7698 GB, free: 77.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05273/1.226, allocations: 20.75 MB / 0.79 GB, free: 54.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004558/1.227, allocations: 99.23 kB / 0.7901 GB, free: 54.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003018/1.23, allocations: 367.8 kB / 0.7905 GB, free: 54.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002632/1.232, allocations: 1.823 MB / 0.7922 GB, free: 52.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03785/1.27, allocations: 16.55 MB / 0.8084 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4381/1.709, allocations: 76.99 MB / 0.8836 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/1.724, allocations: 6.166 MB / 0.8896 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002923/1.727, allocations: 1.98 MB / 0.8915 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01536/1.742, allocations: 9.128 MB / 0.9005 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/1.743, allocations: 64.22 kB / 0.9005 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=257): time 6.242e-06/1.743, allocations: 1.375 kB / 0.9005 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=291): time 0.06041/1.803, allocations: 21.07 MB / 0.9211 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/1.803, allocations: 161.8 kB / 0.9213 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.816, allocations: 5.884 MB / 0.927 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005412/1.817, allocations: 72.7 kB / 0.9271 GB, free: 50.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003283/1.82, allocations: 4.967 MB / 0.9319 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001332/1.822, allocations: 1.104 MB / 0.933 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00091/1.822, allocations: 186.3 kB / 0.9332 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007406/1.823, allocations: 0.6934 MB / 0.9339 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.828, allocations: 2.606 MB / 0.9364 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006888/1.835, allocations: 8.173 MB / 0.9444 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.846, allocations: 11.69 MB / 0.9558 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002395/1.847, allocations: 57.56 kB / 0.9559 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.02038/1.867, allocations: 10.48 MB / 0.9661 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/1.867, allocations: 92.91 kB / 0.9662 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005451/1.868, allocations: 196.8 kB / 0.9664 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003902/1.868, allocations: 264 kB / 0.9666 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006961/1.875, allocations: 2.232 MB / 0.9688 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003488/1.876, allocations: 388 kB / 0.9692 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007575/1.883, allocations: 0.5753 MB / 0.9697 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.885, allocations: 0.5415 MB / 0.9703 GB, free: 25.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 78 (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 (1174): * Single equations (assignments): 1171 * 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 prepare postOptimizeDAE: time 0.007763/1.893, allocations: 3.229 MB / 0.9734 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.894, allocations: 0.5221 MB / 0.9739 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/1.9, allocations: 2.844 MB / 0.9767 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-05/1.9, allocations: 29.75 kB / 0.9767 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/1.9, allocations: 3.656 kB / 0.9767 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/1.9, allocations: 12 kB / 0.9767 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/1.925, allocations: 12.41 MB / 0.9889 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.806e-05/1.925, allocations: 36.25 kB / 0.9889 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.926, allocations: 0.5175 MB / 0.9894 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-05/1.927, allocations: 47.94 kB / 0.9894 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/1.927, allocations: 91.14 kB / 0.9895 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.66e-05/1.927, allocations: 62.94 kB / 0.9896 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/1.927, allocations: 51.75 kB / 0.9896 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/1.934, allocations: 5.467 MB / 0.995 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/1.936, allocations: 0.5904 MB / 0.9956 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.938, allocations: 98.36 kB / 0.9957 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.941, allocations: 185.4 kB / 0.9958 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/1.941, allocations: 274.2 kB / 0.9961 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.942, allocations: 115.5 kB / 0.9962 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007814/1.95, allocations: 3.667 MB / 0.9998 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/1.95, allocations: 0 / 0.9998 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009194/1.959, allocations: 1.474 MB / 1.001 GB, free: 0.6523 MB / 0.5105 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 (269): * Single equations (assignments): 266 * 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.0006628/1.959, allocations: 280.5 kB / 1.001 GB, free: 396 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01314/1.973, allocations: 6.05 MB / 1.007 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.868e-05/1.973, allocations: 4 kB / 1.007 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/1.975, allocations: 1.315 MB / 1.009 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02855/2.004, allocations: 0.7546 MB / 1.009 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0295/2.033, allocations: 17.46 MB / 1.026 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008996/2.042, allocations: 4.887 MB / 1.031 GB, free: 5.547 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008231/2.051, allocations: 2.616 MB / 1.034 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/2.052, allocations: 382.8 kB / 1.034 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/2.052, allocations: 0 / 1.034 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of Templates: time 0.0975/2.15, allocations: 44.41 MB / 1.078 GB, free: 8.43 MB / 0.5886 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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