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.002145/0.002149, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2998/0.2997, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.177e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4153, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.6122, allocations: 107.8 MB / 0.5711 GB, free: 7.508 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.6125, allocations: 75.95 kB / 0.5712 GB, free: 7.434 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9404/1.553, allocations: 142.8 MB / 0.7106 GB, free: 95.69 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.144e-06/1.553, allocations: 0 / 0.7106 GB, free: 95.69 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003661/1.553, allocations: 146.8 kB / 0.7108 GB, free: 95.68 MB / 475.1 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.0239/1.577, allocations: 6.621 MB / 0.7172 GB, free: 90.69 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/1.577, allocations: 12.03 kB / 0.7173 GB, free: 90.68 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02833/1.606, allocations: 3.621 MB / 0.7208 GB, free: 87.04 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02565/1.631, allocations: 7.664 MB / 0.7283 GB, free: 79.38 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/1.632, allocations: 260 kB / 0.7285 GB, free: 79.12 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00442/1.636, allocations: 475.8 kB / 0.729 GB, free: 78.66 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02871/1.665, allocations: 11.41 MB / 0.7401 GB, free: 67.25 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04308/1.708, allocations: 16.61 MB / 0.7563 GB, free: 49.03 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005093/1.709, allocations: 95.16 kB / 0.7564 GB, free: 48.94 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003901/1.713, allocations: 48 kB / 0.7565 GB, free: 48.89 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005305/1.718, allocations: 1.942 MB / 0.7584 GB, free: 46.95 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4951/2.213, allocations: 77.29 MB / 0.8338 GB, free: 112 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007871/2.221, allocations: 3.444 MB / 0.8372 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005276/2.226, allocations: 1.927 MB / 0.8391 GB, free: 111.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/2.229, allocations: 1.776 MB / 0.8408 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.079e-05/2.229, allocations: 75.14 kB / 0.8409 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=303): time 7.685e-06/2.229, allocations: 0 / 0.8409 GB, free: 109.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=331): time 0.0732/2.302, allocations: 16.64 MB / 0.8571 GB, free: 105.5 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/2.302, allocations: 165.1 kB / 0.8573 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/2.314, allocations: 4.444 MB / 0.8616 GB, free: 104.9 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.000729/2.315, allocations: 29.67 kB / 0.8617 GB, free: 104.9 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.004531/2.32, allocations: 5.185 MB / 0.8667 GB, free: 101.7 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002003/2.322, allocations: 1.22 MB / 0.8679 GB, free: 101 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/2.323, allocations: 0 / 0.8679 GB, free: 101 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0009762/2.324, allocations: 0.7312 MB / 0.8686 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00727/2.331, allocations: 2.515 MB / 0.8711 GB, free: 100.6 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/2.343, allocations: 8.408 MB / 0.8793 GB, free: 92.98 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/2.354, allocations: 4.539 MB / 0.8837 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000332/2.354, allocations: 59.19 kB / 0.8838 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.02838/2.383, allocations: 9.551 MB / 0.8931 GB, free: 89.59 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/2.383, allocations: 100.1 kB / 0.8932 GB, free: 89.59 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003173/2.383, allocations: 212.1 kB / 0.8934 GB, free: 89.59 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/2.384, allocations: 309.6 kB / 0.8937 GB, free: 89.59 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01519/2.399, allocations: 2.443 MB / 0.8961 GB, free: 89.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003984/2.399, allocations: 419.7 kB / 0.8965 GB, free: 89.21 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.411, allocations: 422.2 kB / 0.8969 GB, free: 89.18 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/2.413, allocations: 0.5832 MB / 0.8975 GB, free: 89.11 MB / 0.4952 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.003083/2.416, allocations: 0.641 MB / 0.8981 GB, free: 88.59 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001381/2.418, allocations: 0.4908 MB / 0.8986 GB, free: 88.32 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007969/2.426, allocations: 2.933 MB / 0.9014 GB, free: 87.21 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/2.426, allocations: 33.7 kB / 0.9015 GB, free: 87.21 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/2.426, allocations: 3.312 kB / 0.9015 GB, free: 87.21 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/2.426, allocations: 15.14 kB / 0.9015 GB, free: 87.21 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03274/2.459, allocations: 11.74 MB / 0.913 GB, free: 82.32 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/2.459, allocations: 31.53 kB / 0.913 GB, free: 82.32 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004379/2.463, allocations: 0.602 MB / 0.9136 GB, free: 82.26 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-05/2.463, allocations: 50.75 kB / 0.9136 GB, free: 82.26 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/2.464, allocations: 57.25 kB / 0.9137 GB, free: 82.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/2.464, allocations: 66 kB / 0.9137 GB, free: 82.24 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-05/2.464, allocations: 48.5 kB / 0.9138 GB, free: 82.23 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/2.475, allocations: 10.46 MB / 0.924 GB, free: 72.07 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003163/2.478, allocations: 0.7779 MB / 0.9248 GB, free: 71.33 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001317/2.48, allocations: 54.11 kB / 0.9248 GB, free: 71.29 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004855/2.485, allocations: 151 kB / 0.925 GB, free: 71.18 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000809/2.485, allocations: 294.4 kB / 0.9252 GB, free: 70.96 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003044/2.486, allocations: 130.5 kB / 0.9254 GB, free: 70.84 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.007171/2.493, allocations: 2.904 MB / 0.9282 GB, free: 68.34 MB / 0.4952 GB Notification: Performance of sort global known variables: time 7.01e-07/2.493, allocations: 0 / 0.9282 GB, free: 68.34 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.01171/2.505, allocations: 1.334 MB / 0.9295 GB, free: 67.01 MB / 0.4952 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.0009119/2.506, allocations: 224.7 kB / 0.9297 GB, free: 66.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01253/2.518, allocations: 5.794 MB / 0.9354 GB, free: 61.51 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-05/2.518, allocations: 6.625 kB / 0.9354 GB, free: 61.51 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/2.521, allocations: 1.416 MB / 0.9368 GB, free: 60.21 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/2.527, allocations: 0.5316 MB / 0.9373 GB, free: 59.76 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/2.566, allocations: 13.47 MB / 0.9504 GB, free: 47.32 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01283/2.579, allocations: 5.272 MB / 0.9556 GB, free: 43.45 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/2.582, allocations: 460.5 kB / 0.956 GB, free: 43.02 MB / 0.4952 GB Notification: Performance of SimCode: time 1.513e-06/2.582, allocations: 0 / 0.956 GB, free: 43.02 MB / 0.4952 GB Notification: Performance of Templates: time 0.5629/3.145, allocations: 83.33 MB / 1.037 GB, free: 118.7 MB / 0.5265 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