Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 200.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008109/0.000811, allocations: 90.39 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 15.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1925, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3148, allocations: 79.85 MB / 489.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.315, allocations: 71.95 kB / 489.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03082/0.3459, allocations: 9.649 MB / 498.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3459, allocations: 224 / 498.9 MB, free: 1.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3459, allocations: 12 kB / 498.9 MB, free: 1.922 MB / 362.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.00113/0.3471, allocations: 0.7526 MB / 499.7 MB, free: 1.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3471, allocations: 8.031 kB / 499.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.3473, allocations: 64.36 kB / 499.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3476, allocations: 319.2 kB / 0.4884 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.3477, allocations: 41.36 kB / 0.4884 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.859e-05/0.3478, allocations: 52.28 kB / 0.4884 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.3486, allocations: 470.9 kB / 0.4889 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3486, allocations: 192 / 0.4889 GB, free: 148 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.3487, allocations: 23.94 kB / 0.4889 GB, free: 124 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3487, allocations: 12 kB / 0.4889 GB, free: 112 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.3497, allocations: 491.8 kB / 0.4894 GB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.3518, allocations: 1.401 MB / 0.4908 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.3527, allocations: 0.5559 MB / 0.4913 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.3534, allocations: 395.6 kB / 0.4917 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.3535, allocations: 16.53 kB / 0.4917 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.3535, allocations: 43.12 kB / 0.4917 GB, free: 13.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 1.934e-06/0.3535, allocations: 0 / 0.4917 GB, free: 13.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.006584/0.3601, allocations: 3.286 MB / 0.495 GB, free: 9.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3602, allocations: 68.34 kB / 0.495 GB, free: 9.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3604, allocations: 247 kB / 0.4953 GB, free: 9.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.3605, allocations: 41.7 kB / 0.4953 GB, free: 9.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3606, allocations: 197.2 kB / 0.4955 GB, free: 9.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.3608, allocations: 358.7 kB / 0.4958 GB, free: 8.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3609, allocations: 20 kB / 0.4958 GB, free: 8.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.361, allocations: 362.8 kB / 0.4962 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.3616, allocations: 293.8 kB / 0.4965 GB, free: 8.172 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.3622, allocations: 357.4 kB / 0.4968 GB, free: 7.816 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3634, allocations: 0.6585 MB / 0.4975 GB, free: 7.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3634, allocations: 0 / 0.4975 GB, free: 7.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00145/0.3648, allocations: 0.8094 MB / 0.4982 GB, free: 6.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3649, allocations: 4 kB / 0.4983 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3649, allocations: 0 / 0.4983 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3649, allocations: 7.984 kB / 0.4983 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007875/0.3657, allocations: 227.6 kB / 0.4985 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3657, allocations: 4 kB / 0.4985 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.3661, allocations: 63.97 kB / 0.4985 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.3662, allocations: 31.92 kB / 0.4986 GB, free: 6 MB / 378.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 () * Number of clocked 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.0002942/0.3665, allocations: 193.7 kB / 0.4988 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.912e-05/0.3666, allocations: 51.44 kB / 0.4988 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.3667, allocations: 73.39 kB / 0.4989 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3667, allocations: 11.94 kB / 0.4989 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3668, allocations: 0 / 0.4989 GB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3668, allocations: 7.984 kB / 0.4989 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.3698, allocations: 2.03 MB / 0.5009 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3698, allocations: 4 kB / 0.5009 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.3706, allocations: 219.7 kB / 0.5011 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.3706, allocations: 8 kB / 0.5011 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.3707, allocations: 24 kB / 0.5011 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.3707, allocations: 15.92 kB / 0.5011 GB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/0.3707, allocations: 7.938 kB / 0.5011 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.3729, allocations: 1.419 MB / 0.5025 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.373, allocations: 128.5 kB / 0.5027 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.3731, allocations: 24 kB / 0.5027 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.3735, allocations: 64.02 kB / 0.5027 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.3736, allocations: 80.78 kB / 0.5028 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.3737, allocations: 32 kB / 0.5028 GB, free: 1.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.3738, allocations: 178 kB / 0.503 GB, free: 1.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3738, allocations: 0 / 0.503 GB, free: 1.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004983/0.3743, allocations: 156 kB / 0.5032 GB, free: 1.074 MB / 378.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 () * Number of clocked 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.0001837/0.3745, allocations: 139 kB / 0.5033 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.3759, allocations: 0.7543 MB / 0.504 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3759, allocations: 4 kB / 0.504 GB, free: 172 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1788/0.5547, allocations: 457.1 kB / 0.5045 GB, free: 96.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5559, allocations: 113.6 kB / 0.5046 GB, free: 96.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.5588, allocations: 1.836 MB / 0.5064 GB, free: 95.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.5593, allocations: 0.8645 MB / 0.5072 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.5596, allocations: 77.2 kB / 0.5073 GB, free: 94.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.5598, allocations: 55.55 kB / 0.5073 GB, free: 94.43 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.5598, allocations: 0 / 0.5073 GB, free: 94.43 MB / 378.7 MB Notification: Performance of Templates: time 0.01103/0.5708, allocations: 5.838 MB / 0.513 GB, free: 94.12 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches