Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.6 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000724/0.000724, allocations: 114.5 kB / 296.4 MB, free: 6.773 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001787/0.0001787, allocations: 4 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1815, allocations: 51.29 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002215/0.1838, allocations: 3.035 MB / 410.5 MB, free: 24.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.1847, allocations: 0.8764 MB / 411.4 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.1849, allocations: 13.56 kB / 411.4 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.185, allocations: 55.55 kB / 411.5 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.1851, allocations: 129.5 kB / 411.6 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1854, allocations: 116 kB / 411.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.1858, allocations: 0.5411 MB / 412.2 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.186, allocations: 151.7 kB / 412.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1862, allocations: 199.3 kB / 412.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1864, allocations: 243 kB / 412.8 MB, free: 22.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.1864, allocations: 28 kB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.241e-05/0.1865, allocations: 28.84 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.1866, allocations: 87.66 kB / 413 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.1866, allocations: 118.3 kB / 413.1 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.1869, allocations: 431.7 kB / 413.5 MB, free: 21.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1869, allocations: 4 kB / 413.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1869, allocations: 0 / 413.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1869, allocations: 0 / 413.5 MB, free: 21.75 MB / 298.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.001157/0.1881, allocations: 0.799 MB / 414.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.1881, allocations: 12.03 kB / 414.3 MB, free: 20.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.1883, allocations: 63.34 kB / 414.4 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1885, allocations: 318.1 kB / 414.7 MB, free: 20.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.1886, allocations: 37 kB / 414.7 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.1886, allocations: 51.92 kB / 414.8 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/0.1894, allocations: 470.3 kB / 415.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1894, allocations: 3.938 kB / 415.2 MB, free: 19.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.1895, allocations: 27.94 kB / 415.3 MB, free: 19.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1895, allocations: 12 kB / 415.3 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.1903, allocations: 491.7 kB / 415.8 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.192, allocations: 1.401 MB / 417.2 MB, free: 17.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007415/0.1928, allocations: 0.552 MB / 417.7 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.1934, allocations: 386.8 kB / 418.1 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.1935, allocations: 12.55 kB / 418.1 MB, free: 16.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.1935, allocations: 43.12 kB / 418.1 MB, free: 16.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.633e-06/0.1935, allocations: 0 / 418.1 MB, free: 16.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.005982/0.1995, allocations: 3.293 MB / 421.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.1995, allocations: 64.34 kB / 421.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1997, allocations: 254.9 kB / 421.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1997, allocations: 45.7 kB / 421.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1998, allocations: 189.3 kB / 422 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.1999, allocations: 350.8 kB / 422.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.2, allocations: 16 kB / 422.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.2, allocations: 366.8 kB / 422.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004935/0.2005, allocations: 285.9 kB / 423 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.2011, allocations: 365.4 kB / 423.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.2016, allocations: 322.9 kB / 423.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.2016, allocations: 0 / 423.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001174/0.2028, allocations: 0.8055 MB / 424.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2028, allocations: 11.98 kB / 424.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2028, allocations: 0 / 424.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2028, allocations: 4 kB / 424.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.2035, allocations: 219.7 kB / 424.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.2035, allocations: 4 kB / 424.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.2038, allocations: 55.97 kB / 424.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.2039, allocations: 35.94 kB / 424.8 MB, free: 10.16 MB / 298.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.0001634/0.2041, allocations: 189.7 kB / 425 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.2041, allocations: 63.34 kB / 425 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.2043, allocations: 73.39 kB / 425.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.2043, allocations: 15.98 kB / 425.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2043, allocations: 0 / 425.1 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2043, allocations: 3.984 kB / 425.1 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.2066, allocations: 2.037 MB / 427.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2066, allocations: 4 kB / 427.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/0.2073, allocations: 212.2 kB / 427.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2073, allocations: 16 kB / 427.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.2074, allocations: 20 kB / 427.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.2074, allocations: 15.92 kB / 427.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2074, allocations: 11.94 kB / 427.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.2091, allocations: 1.423 MB / 428.8 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.2092, allocations: 124.5 kB / 429 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.2092, allocations: 32.05 kB / 429 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.2096, allocations: 60.09 kB / 429.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.2097, allocations: 76.8 kB / 429.1 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.355e-05/0.2097, allocations: 28 kB / 429.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2099, allocations: 186 kB / 429.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2099, allocations: 0 / 429.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.2102, allocations: 148 kB / 429.5 MB, free: 5.223 MB / 298.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.0001075/0.2104, allocations: 135 kB / 429.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.2115, allocations: 0.7582 MB / 430.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2115, allocations: 0 / 430.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.2121, allocations: 466.7 kB / 430.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/0.2128, allocations: 111.9 kB / 430.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2147, allocations: 1.873 MB / 432.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2149, allocations: 0.8648 MB / 433.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.2151, allocations: 67.41 kB / 433.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2151, allocations: 0 / 433.7 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of Templates: time 0.00854/0.2236, allocations: 7.178 MB / 440.9 MB, free: 9.668 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches