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.002406/0.002406, allocations: 196.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.001119, allocations: 101.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.044e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.6264, allocations: 79.18 MB / 474.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.6267, allocations: 69.34 kB / 474.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02316/0.6498, allocations: 9.573 MB / 484 MB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6499, allocations: 0 / 484 MB, free: 6.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.6499, allocations: 8 kB / 484 MB, free: 6.066 MB / 346.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.001098/0.651, allocations: 0.7196 MB / 484.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6511, allocations: 8.031 kB / 484.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.6513, allocations: 63.34 kB / 484.8 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.6516, allocations: 314.9 kB / 485.1 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.6516, allocations: 16 kB / 485.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.6517, allocations: 35.75 kB / 485.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005279/0.6522, allocations: 347.8 kB / 485.5 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.6528, allocations: 332.4 kB / 485.8 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.6528, allocations: 7.984 kB / 485.8 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.6529, allocations: 0 / 485.8 MB, free: 4.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6529, allocations: 12 kB / 485.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.6548, allocations: 1.304 MB / 487.1 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.6553, allocations: 473.6 kB / 487.6 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.6558, allocations: 304.2 kB / 487.9 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.6558, allocations: 15.52 kB / 487.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.6559, allocations: 41.31 kB / 487.9 MB, free: 2.844 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.234e-06/0.6559, allocations: 4 kB / 487.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.003129/0.659, allocations: 2.21 MB / 490.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.6591, allocations: 68.67 kB / 490.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.6592, allocations: 197.8 kB / 490.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.6592, allocations: 25.7 kB / 490.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.6593, allocations: 196.7 kB / 490.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.6595, allocations: 332.7 kB / 491 MB, free: 284 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.6595, allocations: 4 kB / 491 MB, free: 280 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6597, allocations: 363 kB / 491.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.66, allocations: 207.6 kB / 491.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.6604, allocations: 276.7 kB / 491.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.6608, allocations: 237.5 kB / 492 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6608, allocations: 4 kB / 492 MB, free: 15.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0009176/0.6617, allocations: 0.6357 MB / 492.7 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6618, allocations: 5.406 kB / 492.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.6618, allocations: 0 / 492.7 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.6618, allocations: 7.938 kB / 492.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.6626, allocations: 214.8 kB / 492.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6626, allocations: 8.062 kB / 492.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.663, allocations: 47.91 kB / 492.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.663, allocations: 22.75 kB / 493 MB, free: 14.72 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.0001395/0.6632, allocations: 120.8 kB / 493.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.6633, allocations: 55.42 kB / 493.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.6635, allocations: 51.88 kB / 493.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6635, allocations: 12 kB / 493.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6635, allocations: 0 / 493.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.6635, allocations: 7.969 kB / 493.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.6659, allocations: 1.755 MB / 495 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.666, allocations: 7.125 kB / 495 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/0.6668, allocations: 216 kB / 495.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/0.6668, allocations: 12 kB / 495.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.6669, allocations: 4 kB / 495.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6669, allocations: 15.98 kB / 495.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.6669, allocations: 7.938 kB / 495.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.6686, allocations: 1.388 MB / 496.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6688, allocations: 132.3 kB / 496.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.6688, allocations: 4 kB / 496.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.6692, allocations: 43.97 kB / 496.8 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.6694, allocations: 76.2 kB / 496.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.6695, allocations: 35.8 kB / 496.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.6696, allocations: 153.1 kB / 497 MB, free: 11.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6696, allocations: 0 / 497 MB, free: 11.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005222/0.6701, allocations: 124 kB / 497.2 MB, free: 11.03 MB / 362.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.0002085/0.6704, allocations: 129.5 kB / 497.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.6713, allocations: 0.5861 MB / 497.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6713, allocations: 0 / 497.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.6718, allocations: 371.8 kB / 498.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.6724, allocations: 86.78 kB / 498.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.6746, allocations: 1.208 MB / 499.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004892/0.6751, allocations: 0.8806 MB / 0.4887 GB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003263/0.6754, allocations: 72.91 kB / 0.4887 GB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.6756, allocations: 63.34 kB / 0.4888 GB, free: 7.977 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6756, allocations: 0 / 0.4888 GB, free: 7.977 MB / 362.7 MB Notification: Performance of Templates: time 0.01057/0.6862, allocations: 5.513 MB / 0.4942 GB, free: 2.566 MB / 362.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/jenkins/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