Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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) 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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.3 MB / 214.4 MB, free: 1.734 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.0009073/0.0009072, allocations: 90.69 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.641e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4546, allocations: 77.44 MB / 440.5 MB, free: 2.188 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.455, allocations: 72.64 kB / 440.6 MB, free: 2.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02624/0.4812, allocations: 9.214 MB / 449.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4813, allocations: 0 / 449.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.4813, allocations: 8 kB / 449.8 MB, free: 10.54 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001384/0.4827, allocations: 0.717 MB / 450.5 MB, free: 9.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.4828, allocations: 11.97 kB / 450.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.4829, allocations: 55.34 kB / 450.6 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.4833, allocations: 317.6 kB / 450.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.4833, allocations: 16 kB / 450.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.4834, allocations: 24 kB / 450.9 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006187/0.484, allocations: 347.5 kB / 451.3 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006069/0.4846, allocations: 342.4 kB / 451.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4847, allocations: 3.984 kB / 451.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.4847, allocations: 0 / 451.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.4847, allocations: 16 kB / 451.6 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.4871, allocations: 1.304 MB / 452.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.4879, allocations: 473.3 kB / 453.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.4885, allocations: 306.3 kB / 453.7 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.4885, allocations: 15.95 kB / 453.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4886, allocations: 37.81 kB / 453.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.074e-06/0.4886, allocations: 0 / 453.7 MB, free: 7.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=103): time 0.003873/0.4925, allocations: 2.216 MB / 456 MB, free: 5.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4925, allocations: 64.67 kB / 456 MB, free: 5.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.4928, allocations: 201.3 kB / 456.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.4928, allocations: 25.7 kB / 456.2 MB, free: 5.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4929, allocations: 203.3 kB / 456.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.4932, allocations: 328.4 kB / 456.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.4933, allocations: 0 / 456.8 MB, free: 4.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4934, allocations: 367.1 kB / 457.1 MB, free: 4.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.4938, allocations: 206.9 kB / 457.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4942, allocations: 275.2 kB / 457.6 MB, free: 4.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.4945, allocations: 244.8 kB / 457.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4945, allocations: 0 / 457.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009272/0.4955, allocations: 0.6265 MB / 458.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4955, allocations: 4 kB / 458.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4955, allocations: 4 kB / 458.5 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/0.4956, allocations: 4 kB / 458.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008468/0.4964, allocations: 223 kB / 458.7 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4964, allocations: 4 kB / 458.7 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.4968, allocations: 47.91 kB / 458.7 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.007e-05/0.4968, allocations: 27.31 kB / 458.8 MB, free: 3.188 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * 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.00015/0.497, allocations: 112.8 kB / 458.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.4971, allocations: 55.42 kB / 458.9 MB, free: 3.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.4973, allocations: 56.38 kB / 459 MB, free: 2.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.4973, allocations: 11.98 kB / 459 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4973, allocations: 0 / 459 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4973, allocations: 15.97 kB / 459 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.5, allocations: 1.75 MB / 460.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5, allocations: 4 kB / 460.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008455/0.5009, allocations: 214.5 kB / 461 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.5009, allocations: 8 kB / 461 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.5009, allocations: 16.23 kB / 461 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.501, allocations: 8 kB / 461 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.501, allocations: 7.938 kB / 461 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.5027, allocations: 1.387 MB / 462.4 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.5029, allocations: 124 kB / 462.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.503, allocations: 8.125 kB / 462.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.5034, allocations: 47.97 kB / 462.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5035, allocations: 74.77 kB / 462.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.5036, allocations: 34.86 kB / 462.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.5037, allocations: 157.9 kB / 462.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5037, allocations: 0 / 462.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005186/0.5043, allocations: 124 kB / 463 MB, free: 15.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * 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.0002076/0.5045, allocations: 111 kB / 463.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008896/0.5054, allocations: 0.5895 MB / 463.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5054, allocations: 0 / 463.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.5059, allocations: 378.6 kB / 464 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.5065, allocations: 81.44 kB / 464.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.5086, allocations: 1.208 MB / 465.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.5091, allocations: 0.8845 MB / 466.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003381/0.5095, allocations: 72.91 kB / 466.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.5096, allocations: 59.41 kB / 466.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of SimCode: time 2.174e-06/0.5097, allocations: 0 / 466.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of Templates: time 0.01099/0.5207, allocations: 5.498 MB / 471.8 MB, free: 6.949 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches