Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 78.31 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.91e-05, allocations: 4 kB / 343.8 MB, free: 4.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1518, allocations: 50.41 MB / 394.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.5987, allocations: 79.03 MB / 473.3 MB, free: 8.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.5991, allocations: 71.78 kB / 473.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02824/0.6273, allocations: 9.555 MB / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6274, allocations: 0 / 482.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.106e-05/0.6275, allocations: 12 kB / 482.9 MB, free: 14.91 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.001525/0.629, allocations: 0.7208 MB / 483.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000102/0.6291, allocations: 12.03 kB / 483.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6292, allocations: 59.34 kB / 483.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.6297, allocations: 306.1 kB / 484 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.6298, allocations: 33 kB / 484 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.6299, allocations: 48 kB / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.6308, allocations: 402.5 kB / 484.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.6308, allocations: 4 kB / 484.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.6309, allocations: 20 kB / 484.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6309, allocations: 11.94 kB / 484.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.6316, allocations: 375.9 kB / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.6343, allocations: 1.402 MB / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.6352, allocations: 0.4935 MB / 486.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/0.6358, allocations: 327 kB / 487.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.6359, allocations: 16.55 kB / 487.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.636, allocations: 39.12 kB / 487.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 3.567e-06/0.636, allocations: 0 / 487.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.006634/0.6426, allocations: 2.752 MB / 489.9 MB, free: 7.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.6427, allocations: 60.41 kB / 489.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.6431, allocations: 223.4 kB / 490.2 MB, free: 7.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.6431, allocations: 45.7 kB / 490.2 MB, free: 7.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.6433, allocations: 197.2 kB / 490.4 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.6437, allocations: 343 kB / 490.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.6437, allocations: 16 kB / 490.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/0.644, allocations: 366.7 kB / 491.1 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.6444, allocations: 230 kB / 491.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.645, allocations: 293.5 kB / 491.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.6455, allocations: 256.9 kB / 491.9 MB, free: 5.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6455, allocations: 3.938 kB / 491.9 MB, free: 5.625 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001282/0.6468, allocations: 0.6922 MB / 492.6 MB, free: 4.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6468, allocations: 7.938 kB / 492.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6468, allocations: 0 / 492.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.6469, allocations: 4 kB / 492.6 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.6478, allocations: 219.8 kB / 492.8 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.6478, allocations: 4 kB / 492.8 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.6483, allocations: 63.95 kB / 492.9 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.6483, allocations: 28 kB / 492.9 MB, free: 4.602 MB / 362.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.0002213/0.6486, allocations: 152.8 kB / 493 MB, free: 4.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6487, allocations: 55.34 kB / 493.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.6489, allocations: 73.39 kB / 493.2 MB, free: 4.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.6489, allocations: 12 kB / 493.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.649, allocations: 0 / 493.2 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.649, allocations: 7.969 kB / 493.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.6524, allocations: 1.908 MB / 495.1 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.6525, allocations: 4 kB / 495.1 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009335/0.6534, allocations: 211.7 kB / 495.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/0.6535, allocations: 8 kB / 495.3 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.6535, allocations: 27.98 kB / 495.3 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.6536, allocations: 12.09 kB / 495.3 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-05/0.6536, allocations: 11.94 kB / 495.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.6561, allocations: 1.451 MB / 496.8 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.6564, allocations: 128.4 kB / 496.9 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.6565, allocations: 24.06 kB / 497 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.6569, allocations: 64.08 kB / 497 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.6571, allocations: 68.59 kB / 497.1 MB, free: 72 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.6572, allocations: 39.98 kB / 497.1 MB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002506/0.6575, allocations: 175.1 kB / 497.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.904e-06/0.6575, allocations: 4 kB / 497.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006099/0.6581, allocations: 155.9 kB / 497.5 MB, free: 15.7 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 () * 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.0002567/0.6584, allocations: 140.5 kB / 497.6 MB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.6595, allocations: 0.6317 MB / 498.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6596, allocations: 0 / 498.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.6602, allocations: 396.5 kB / 498.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.6609, allocations: 100.1 kB / 498.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.6635, allocations: 1.269 MB / 500 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.6642, allocations: 0.877 MB / 0.4891 GB, free: 12.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.6646, allocations: 76.94 kB / 0.4892 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.6647, allocations: 51.42 kB / 0.4892 GB, free: 12.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6648, allocations: 0 / 0.4892 GB, free: 12.06 MB / 378.7 MB Notification: Performance of Templates: time 0.01225/0.677, allocations: 5.77 MB / 0.4949 GB, free: 6.34 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches