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.00101/0.001011, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.3 MB / 213.7 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007604, allocations: 92.05 kB / 261.7 MB, free: 1.609 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.178/0.178, allocations: 43.5 MB / 353.2 MB, free: 268 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.329e-05/1.333e-05, allocations: 4 kB / 418.2 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.489, allocations: 107.8 MB / 0.5712 GB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4892, allocations: 78.03 kB / 0.5712 GB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.615/1.104, allocations: 142.8 MB / 0.7107 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.895e-06/1.104, allocations: 0 / 0.7107 GB, free: 95.63 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004415/1.105, allocations: 149.6 kB / 0.7108 GB, free: 95.63 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.02389/1.129, allocations: 6.622 MB / 0.7173 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/1.129, allocations: 8.609 kB / 0.7173 GB, free: 94.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/1.148, allocations: 3.626 MB / 0.7208 GB, free: 93.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01992/1.168, allocations: 7.666 MB / 0.7283 GB, free: 93.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/1.169, allocations: 260.9 kB / 0.7286 GB, free: 93.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/1.173, allocations: 474.5 kB / 0.729 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02049/1.193, allocations: 11.41 MB / 0.7401 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02822/1.221, allocations: 16.6 MB / 0.7564 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002202/1.222, allocations: 93.3 kB / 0.7565 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008603/1.222, allocations: 46.97 kB / 0.7565 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/1.225, allocations: 1.95 MB / 0.7584 GB, free: 88.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07293/1.298, allocations: 77.28 MB / 0.8339 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/1.302, allocations: 3.46 MB / 0.8372 GB, free: 34.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/1.304, allocations: 1.928 MB / 0.8391 GB, free: 33.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/1.306, allocations: 1.772 MB / 0.8409 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.306, allocations: 57.91 kB / 0.8409 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=303): time 7.464e-06/1.306, allocations: 0 / 0.8409 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=331): time 0.03434/1.34, allocations: 16.65 MB / 0.8572 GB, free: 20.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.34, allocations: 166.6 kB / 0.8573 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/1.346, allocations: 4.441 MB / 0.8617 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000537/1.346, allocations: 29.7 kB / 0.8617 GB, free: 16.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.349, allocations: 5.258 MB / 0.8668 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/1.35, allocations: 1.211 MB / 0.868 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/1.35, allocations: 0 / 0.868 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004413/1.351, allocations: 0.7331 MB / 0.8687 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003235/1.354, allocations: 2.511 MB / 0.8712 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006537/1.361, allocations: 8.405 MB / 0.8794 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007629/1.368, allocations: 4.552 MB / 0.8838 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/1.369, allocations: 60 kB / 0.8839 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.02024/1.389, allocations: 9.675 MB / 0.8933 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002025/1.389, allocations: 96 kB / 0.8934 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/1.389, allocations: 208 kB / 0.8936 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/1.39, allocations: 315.8 kB / 0.8939 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008414/1.398, allocations: 2.436 MB / 0.8963 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/1.398, allocations: 416 kB / 0.8967 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007314/1.406, allocations: 427.3 kB / 0.8971 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.408, allocations: 0.5854 MB / 0.8977 GB, free: 11.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1283 * 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.00277/1.411, allocations: 0.6347 MB / 0.8983 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.412, allocations: 0.4937 MB / 0.8988 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006483/1.418, allocations: 2.928 MB / 0.9017 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.456e-05/1.419, allocations: 39.75 kB / 0.9017 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.419, allocations: 4 kB / 0.9017 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.419, allocations: 14.67 kB / 0.9017 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3203/1.739, allocations: 11.78 MB / 0.9132 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-05/1.739, allocations: 32.06 kB / 0.9132 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002412/1.741, allocations: 0.5956 MB / 0.9138 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.912e-05/1.741, allocations: 50.94 kB / 0.9139 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/1.742, allocations: 57.8 kB / 0.9139 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.494e-05/1.742, allocations: 66.3 kB / 0.914 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.583e-05/1.742, allocations: 52.25 kB / 0.914 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008517/1.75, allocations: 10.46 MB / 0.9242 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.753, allocations: 0.7805 MB / 0.925 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006109/1.753, allocations: 49.69 kB / 0.9251 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.755, allocations: 152.6 kB / 0.9252 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/1.756, allocations: 293.1 kB / 0.9255 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/1.756, allocations: 130.5 kB / 0.9256 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005508/1.761, allocations: 2.897 MB / 0.9284 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.1e-07/1.762, allocations: 1.031 kB / 0.9284 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009797/1.771, allocations: 1.334 MB / 0.9297 GB, free: 103.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (312): * Single equations (assignments): 309 * 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.000851/1.772, allocations: 225.5 kB / 0.93 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009151/1.781, allocations: 5.791 MB / 0.9356 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-05/1.781, allocations: 3.875 kB / 0.9356 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.784, allocations: 1.422 MB / 0.937 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/1.787, allocations: 0.5361 MB / 0.9375 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02389/1.811, allocations: 12.67 MB / 0.9499 GB, free: 99.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005628/1.817, allocations: 5.27 MB / 0.955 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006644/1.824, allocations: 2.818 MB / 0.9578 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.824, allocations: 387.6 kB / 0.9582 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.123e-06/1.824, allocations: 0 / 0.9582 GB, free: 98.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.07138/1.896, allocations: 39.64 MB / 0.9969 GB, free: 96.37 MB / 0.5261 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