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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 105 kB / 16.93 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 191.3 kB / 17.86 MB, free: 5.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2195/0.2195, allocations: 43.52 MB / 314.6 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001789, allocations: 68.34 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1165, allocations: 57.79 MB / 441.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01705/0.1336, allocations: 17.62 MB / 458.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1466, allocations: 5.2 MB / 464 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.1506, allocations: 107.8 kB / 464.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01044/0.1611, allocations: 5.245 MB / 469.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.1701, allocations: 2.726 MB / 472.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.1736, allocations: 1.186 MB / 473.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.1847, allocations: 7.028 MB / 480.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009411/0.1942, allocations: 6.555 MB / 486.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.1999, allocations: 2.781 MB / 489.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.2066, allocations: 3.992 MB / 493.6 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002364/0.209, allocations: 0.6289 MB / 494.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.213, allocations: 1.319 MB / 495.6 MB, free: 276 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004952/0.218, allocations: 3.511 MB / 499.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007779/0.2258, allocations: 4.012 MB / 0.4913 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01679/0.2426, allocations: 11.79 MB / 0.5028 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.2427, allocations: 7.938 kB / 0.5028 GB, free: 12.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2427, allocations: 0 / 0.5028 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005072/0.2432, allocations: 0 / 0.5028 GB, free: 12.88 MB / 398.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.02326/0.2665, allocations: 8.194 MB / 0.5108 GB, free: 4.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.2666, allocations: 11.89 kB / 0.5108 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.2792, allocations: 2.724 MB / 0.5135 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009493/0.2887, allocations: 3.935 MB / 0.5173 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004694/0.2892, allocations: 460 kB / 0.5178 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/0.2917, allocations: 0.5932 MB / 0.5184 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5159/0.8075, allocations: 21.22 MB / 0.5391 GB, free: 76.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005994/0.8082, allocations: 75.42 kB / 0.5392 GB, free: 76.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003245/0.8115, allocations: 288.3 kB / 0.5394 GB, free: 76.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008544/0.8201, allocations: 3.545 MB / 0.5429 GB, free: 76.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03981/0.8599, allocations: 17.19 MB / 0.5597 GB, free: 68.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07991/0.9399, allocations: 67.85 MB / 0.6259 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01962/0.9596, allocations: 6.672 MB / 0.6325 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/0.964, allocations: 2.287 MB / 0.6347 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01966/0.9837, allocations: 9.793 MB / 0.6443 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.708e-05/0.9838, allocations: 68.56 kB / 0.6443 GB, free: 12.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 6.552e-06/0.9838, allocations: 0 / 0.6443 GB, free: 12.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.07048/1.054, allocations: 22.77 MB / 0.6665 GB, free: 5.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.054, allocations: 162.7 kB / 0.6667 GB, free: 5.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/1.067, allocations: 6.033 MB / 0.6726 GB, free: 15.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008961/1.068, allocations: 73.7 kB / 0.6727 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005932/1.074, allocations: 5.195 MB / 0.6777 GB, free: 9.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001904/1.076, allocations: 1.245 MB / 0.679 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005241/1.081, allocations: 1.932 MB / 0.6808 GB, free: 6.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/1.082, allocations: 301.1 kB / 0.6811 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/1.088, allocations: 2.861 MB / 0.6839 GB, free: 3.625 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01109/1.099, allocations: 8.663 MB / 0.6924 GB, free: 8.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01643/1.115, allocations: 12.52 MB / 0.7046 GB, free: 8.664 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002189/1.116, allocations: 60 kB / 0.7047 GB, free: 8.605 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02578/1.141, allocations: 11.26 MB / 0.7157 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000301/1.142, allocations: 92.47 kB / 0.7158 GB, free: 13.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003866/1.142, allocations: 204 kB / 0.7159 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/1.143, allocations: 275.9 kB / 0.7162 GB, free: 12.74 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008332/1.151, allocations: 2.355 MB / 0.7185 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/1.151, allocations: 418.4 kB / 0.7189 GB, free: 9.969 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007992/1.159, allocations: 471.4 kB / 0.7194 GB, free: 9.508 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002169/1.162, allocations: 0.5781 MB / 0.7199 GB, free: 8.93 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * 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 (1267): * Single equations (assignments): 1264 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007219/1.169, allocations: 3.393 MB / 0.7232 GB, free: 5.52 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.17, allocations: 0.5437 MB / 0.7238 GB, free: 4.969 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007682/1.178, allocations: 3.452 MB / 0.7271 GB, free: 1.465 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-05/1.178, allocations: 32 kB / 0.7272 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.178, allocations: 7.938 kB / 0.7272 GB, free: 1.426 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.178, allocations: 15.95 kB / 0.7272 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2314/1.41, allocations: 13.76 MB / 0.7406 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.022e-05/1.41, allocations: 31.41 kB / 0.7407 GB, free: 167.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/1.412, allocations: 0.6121 MB / 0.7413 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.918e-05/1.412, allocations: 51.53 kB / 0.7413 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000255/1.413, allocations: 102.8 kB / 0.7414 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.887e-05/1.413, allocations: 66.44 kB / 0.7415 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-05/1.413, allocations: 54.69 kB / 0.7415 GB, free: 167.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008493/1.421, allocations: 6.317 MB / 0.7477 GB, free: 163.6 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.424, allocations: 0.8368 MB / 0.7485 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/1.425, allocations: 104.9 kB / 0.7486 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.428, allocations: 140 kB / 0.7487 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/1.428, allocations: 307.3 kB / 0.749 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001992/1.428, allocations: 133.4 kB / 0.7492 GB, free: 163.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006307/1.435, allocations: 3.753 MB / 0.7528 GB, free: 162 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.01e-07/1.435, allocations: 3.906 kB / 0.7528 GB, free: 162 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009545/1.444, allocations: 1.566 MB / 0.7544 GB, free: 161.8 MB / 0.5138 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (317): * Single equations (assignments): 314 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009252/1.445, allocations: 278.5 kB / 0.7546 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.458, allocations: 7.464 MB / 0.7619 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.405e-05/1.458, allocations: 5.75 kB / 0.7619 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/1.461, allocations: 1.573 MB / 0.7635 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005492/1.466, allocations: 0.7783 MB / 0.7642 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/1.493, allocations: 16.56 MB / 0.7804 GB, free: 144.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007359/1.501, allocations: 5.128 MB / 0.7854 GB, free: 140.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/1.502, allocations: 487.4 kB / 0.7859 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of SimCode: time 1.483e-06/1.502, allocations: 0 / 0.7859 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1142/1.616, allocations: 90.37 MB / 0.8741 GB, free: 49.2 MB / 0.5138 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches