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.002207/0.002207, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.404/2.404, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001079/0.001079, allocations: 86.7 kB / 267.5 MB, free: 14.05 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.2762/0.2762, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.656e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5228/0.6386, allocations: 108.4 MB / 0.5787 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.639, allocations: 79.25 kB / 0.5787 GB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9646/1.604, allocations: 146.3 MB / 0.7216 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.214e-06/1.604, allocations: 0 / 0.7216 GB, free: 96.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004418/1.604, allocations: 149.4 kB / 0.7218 GB, free: 96.69 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.02727/1.631, allocations: 6.624 MB / 0.7282 GB, free: 94 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.632, allocations: 8.875 kB / 0.7282 GB, free: 94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02942/1.661, allocations: 3.628 MB / 0.7318 GB, free: 93.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/1.688, allocations: 7.668 MB / 0.7393 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007585/1.689, allocations: 0.5997 MB / 0.7399 GB, free: 92.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00437/1.693, allocations: 0.7869 MB / 0.7406 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07589/1.769, allocations: 21.52 MB / 0.7616 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000578/1.77, allocations: 93.69 kB / 0.7617 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004243/1.774, allocations: 392.8 kB / 0.7621 GB, free: 88.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005678/1.78, allocations: 1.938 MB / 0.764 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06298/1.843, allocations: 17.21 MB / 0.7808 GB, free: 87.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/1.967, allocations: 79.58 MB / 0.8585 GB, free: 21.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02956/1.997, allocations: 6.458 MB / 0.8648 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005628/2.002, allocations: 2.159 MB / 0.8669 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02855/2.031, allocations: 9.919 MB / 0.8766 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/2.031, allocations: 72.03 kB / 0.8767 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 7.003e-06/2.031, allocations: 0 / 0.8767 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=330): time 0.1012/2.132, allocations: 20.96 MB / 0.8972 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/2.132, allocations: 162.7 kB / 0.8973 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3794/2.512, allocations: 5.272 MB / 0.9025 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007537/2.513, allocations: 72.48 kB / 0.9025 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005703/2.518, allocations: 5.049 MB / 0.9075 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002646/2.521, allocations: 1.251 MB / 0.9087 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/2.523, allocations: 194.7 kB / 0.9089 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001293/2.524, allocations: 0.7196 MB / 0.9096 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/2.536, allocations: 2.643 MB / 0.9122 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01367/2.55, allocations: 8.386 MB / 0.9203 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/2.562, allocations: 4.668 MB / 0.9249 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003577/2.562, allocations: 57.22 kB / 0.925 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1273) (initialization): time 0.02988/2.592, allocations: 10.62 MB / 0.9353 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002215/2.593, allocations: 92.78 kB / 0.9354 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003465/2.593, allocations: 204.2 kB / 0.9356 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003941/2.593, allocations: 299.4 kB / 0.9359 GB, free: 93.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0153/2.609, allocations: 2.378 MB / 0.9382 GB, free: 93.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004888/2.609, allocations: 403.1 kB / 0.9386 GB, free: 93.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/2.622, allocations: 0.5934 MB / 0.9392 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/2.624, allocations: 0.5628 MB / 0.9397 GB, free: 93.2 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1249): * Single equations (assignments): 1246 * 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.002071/2.626, allocations: 0.863 MB / 0.9406 GB, free: 92.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.628, allocations: 0.5503 MB / 0.9411 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007832/2.636, allocations: 3.248 MB / 0.9443 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.813e-05/2.636, allocations: 34.38 kB / 0.9443 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/2.636, allocations: 0 / 0.9443 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/2.636, allocations: 16.36 kB / 0.9443 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03323/2.669, allocations: 13.65 MB / 0.9577 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.666e-05/2.669, allocations: 36.34 kB / 0.9577 GB, free: 90.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004254/2.673, allocations: 0.5929 MB / 0.9583 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-05/2.673, allocations: 53.91 kB / 0.9583 GB, free: 90.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/2.674, allocations: 101.5 kB / 0.9584 GB, free: 89.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.112e-05/2.674, allocations: 68.77 kB / 0.9585 GB, free: 89.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-05/2.674, allocations: 59.86 kB / 0.9585 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/2.686, allocations: 12.12 MB / 0.9704 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/2.689, allocations: 0.8461 MB / 0.9712 GB, free: 78.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/2.69, allocations: 111.6 kB / 0.9713 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004298/2.694, allocations: 199.8 kB / 0.9715 GB, free: 78.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005329/2.695, allocations: 292.9 kB / 0.9718 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002721/2.695, allocations: 137.4 kB / 0.9719 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007957/2.703, allocations: 3.646 MB / 0.9755 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/2.703, allocations: 0 / 0.9755 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01085/2.714, allocations: 1.574 MB / 0.977 GB, free: 76.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (311): * Single equations (assignments): 308 * 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.0009301/2.715, allocations: 285.8 kB / 0.9773 GB, free: 76.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01379/2.729, allocations: 6.202 MB / 0.9833 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.068e-05/2.729, allocations: 3.5 kB / 0.9834 GB, free: 74.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003321/2.732, allocations: 1.501 MB / 0.9848 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005432/2.738, allocations: 0.7216 MB / 0.9855 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03676/2.774, allocations: 13.69 MB / 0.9989 GB, free: 67.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01125/2.786, allocations: 5.283 MB / 1.004 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/2.788, allocations: 484.8 kB / 1.005 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/2.788, allocations: 3.609 kB / 1.005 GB, free: 65.61 MB / 0.5105 GB Notification: Performance of Templates: time 0.1738/2.962, allocations: 87.88 MB / 1.09 GB, free: 9.371 MB / 0.5261 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