Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001813/0.001813, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008603/0.0008603, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2311/0.2311, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 16 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1377, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5926, allocations: 108.5 MB / 0.5847 GB, free: 7.547 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5929, allocations: 79.06 kB / 0.5848 GB, free: 7.508 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6288/1.222, allocations: 146.2 MB / 0.7275 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.398e-06/1.222, allocations: 0 / 0.7275 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001205/1.223, allocations: 149.2 kB / 0.7277 GB, free: 98.54 MB / 0.4948 GB 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.02975/1.253, allocations: 6.971 MB / 0.7345 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.253, allocations: 9.031 kB / 0.7345 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01817/1.271, allocations: 3.62 MB / 0.738 GB, free: 95.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02294/1.294, allocations: 7.707 MB / 0.7455 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/1.295, allocations: 0.5978 MB / 0.7461 GB, free: 94.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006357/1.302, allocations: 0.7884 MB / 0.7469 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08616/1.388, allocations: 21.78 MB / 0.7682 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000571/1.388, allocations: 97.61 kB / 0.7682 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004141/1.393, allocations: 389.2 kB / 0.7686 GB, free: 89.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005709/1.398, allocations: 1.948 MB / 0.7705 GB, free: 89.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06744/1.466, allocations: 17.63 MB / 0.7877 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1324/1.598, allocations: 79.59 MB / 0.8655 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02997/1.628, allocations: 6.545 MB / 0.8719 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02863/1.657, allocations: 9.895 MB / 0.8815 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.922e-05/1.657, allocations: 80.44 kB / 0.8816 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=300): time 1.096e-05/1.657, allocations: 0 / 0.8816 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of matching and sorting (n=334): time 0.3427/2, allocations: 22.43 MB / 0.9035 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/2, allocations: 165.5 kB / 0.9037 GB, free: 106 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01238/2.012, allocations: 5.423 MB / 0.9089 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007075/2.013, allocations: 76.11 kB / 0.909 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004847/2.018, allocations: 5.191 MB / 0.9141 GB, free: 104 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001907/2.02, allocations: 1.261 MB / 0.9153 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007957/2.021, allocations: 196.7 kB / 0.9155 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006341/2.021, allocations: 0.7167 MB / 0.9162 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00562/2.027, allocations: 2.846 MB / 0.919 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009053/2.036, allocations: 8.592 MB / 0.9274 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008927/2.045, allocations: 4.808 MB / 0.9321 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002959/2.045, allocations: 60.09 kB / 0.9321 GB, free: 95.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1277) (initialization): time 0.02276/2.068, allocations: 11.22 MB / 0.9431 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/2.068, allocations: 90.81 kB / 0.9432 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/2.069, allocations: 201.3 kB / 0.9434 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/2.069, allocations: 304.8 kB / 0.9437 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/2.077, allocations: 2.383 MB / 0.946 GB, free: 94.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/2.078, allocations: 398.9 kB / 0.9464 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008473/2.086, allocations: 0.5923 MB / 0.9469 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001861/2.088, allocations: 0.5759 MB / 0.9475 GB, free: 94.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 928 * 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 (1253): * Single equations (assignments): 1250 * 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.008037/2.096, allocations: 3.384 MB / 0.9508 GB, free: 93.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.097, allocations: 0.5504 MB / 0.9514 GB, free: 93.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/2.103, allocations: 3.388 MB / 0.9547 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/2.103, allocations: 34.69 kB / 0.9547 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/2.103, allocations: 3.438 kB / 0.9547 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/2.103, allocations: 14.81 kB / 0.9547 GB, free: 93.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02656/2.13, allocations: 13.89 MB / 0.9683 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/2.13, allocations: 33.47 kB / 0.9683 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/2.132, allocations: 0.6012 MB / 0.9689 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.761e-05/2.132, allocations: 51.53 kB / 0.9689 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/2.132, allocations: 105.5 kB / 0.969 GB, free: 87.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.755e-05/2.132, allocations: 72.81 kB / 0.9691 GB, free: 87.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.372e-05/2.132, allocations: 53.88 kB / 0.9692 GB, free: 87.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009453/2.142, allocations: 12.49 MB / 0.9814 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/2.145, allocations: 0.8518 MB / 0.9822 GB, free: 76.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009327/2.146, allocations: 105 kB / 0.9823 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/2.148, allocations: 201.1 kB / 0.9825 GB, free: 76.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00033/2.149, allocations: 299.9 kB / 0.9828 GB, free: 76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/2.149, allocations: 135.1 kB / 0.9829 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006332/2.155, allocations: 3.799 MB / 0.9866 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/2.155, allocations: 0 / 0.9866 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0102/2.165, allocations: 1.581 MB / 0.9882 GB, free: 74.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 152 * 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 (315): * Single equations (assignments): 312 * 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.0008169/2.166, allocations: 293.7 kB / 0.9884 GB, free: 74.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01067/2.177, allocations: 6.462 MB / 0.9948 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-05/2.177, allocations: 8.531 kB / 0.9948 GB, free: 72.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002405/2.179, allocations: 1.557 MB / 0.9963 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.184, allocations: 0.7234 MB / 0.997 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/2.215, allocations: 18.66 MB / 1.015 GB, free: 59.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008088/2.223, allocations: 5.284 MB / 1.02 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007707/2.23, allocations: 2.781 MB / 1.023 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.232, allocations: 410.2 kB / 1.023 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/2.232, allocations: 0 / 1.023 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.08647/2.318, allocations: 47.34 MB / 1.07 GB, free: 17.44 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/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_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches