Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008574/0.0008575, allocations: 178.4 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 225.7 MB / 243.2 MB, free: 8.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007261/0.0007261, allocations: 93.59 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002427, allocations: 11.94 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1899, allocations: 50.4 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00244/0.1923, allocations: 3.03 MB / 407.6 MB, free: 28.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1935, allocations: 0.8412 MB / 408.4 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.1937, allocations: 11.94 kB / 408.5 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.1939, allocations: 62.09 kB / 408.5 MB, free: 27.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1941, allocations: 130.4 kB / 408.6 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1945, allocations: 131.9 kB / 408.8 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.1949, allocations: 0.5567 MB / 409.3 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1952, allocations: 161 kB / 409.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.1954, allocations: 207.1 kB / 409.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1956, allocations: 242.9 kB / 409.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.1957, allocations: 28 kB / 409.9 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.1958, allocations: 27.94 kB / 410 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.1958, allocations: 95.59 kB / 410.1 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.196, allocations: 264.4 kB / 410.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.1963, allocations: 0.558 MB / 410.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1963, allocations: 0 / 410.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1963, allocations: 0 / 410.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1964, allocations: 0 / 410.9 MB, free: 24.99 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.001144/0.1975, allocations: 0.7953 MB / 411.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1975, allocations: 8.031 kB / 411.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.1976, allocations: 60.28 kB / 411.7 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1979, allocations: 327.2 kB / 412.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.1979, allocations: 37.36 kB / 412.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.198, allocations: 48.38 kB / 412.2 MB, free: 23.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.1987, allocations: 470.7 kB / 412.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1987, allocations: 4 kB / 412.6 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1988, allocations: 16 kB / 412.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1988, allocations: 12 kB / 412.6 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.1997, allocations: 495.6 kB / 413.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2014, allocations: 1.401 MB / 414.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.2022, allocations: 0.5559 MB / 415.1 MB, free: 20.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.2028, allocations: 382.9 kB / 415.5 MB, free: 20.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2029, allocations: 16.53 kB / 415.5 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.2029, allocations: 39.12 kB / 415.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 3.036e-06/0.2029, allocations: 0 / 415.5 MB, free: 20.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006113/0.209, allocations: 3.295 MB / 418.8 MB, free: 16.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.2091, allocations: 64.41 kB / 418.9 MB, free: 16.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.2093, allocations: 243 kB / 419.1 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.2094, allocations: 41.7 kB / 419.1 MB, free: 16.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.2094, allocations: 205.2 kB / 419.3 MB, free: 16.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.2096, allocations: 342.9 kB / 419.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.2096, allocations: 20 kB / 419.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.2097, allocations: 358.8 kB / 420.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.2102, allocations: 289.8 kB / 420.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.2107, allocations: 365.4 kB / 420.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009795/0.2117, allocations: 0.6547 MB / 421.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2117, allocations: 0 / 421.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001164/0.2129, allocations: 0.8092 MB / 422.2 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2129, allocations: 12.06 kB / 422.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2129, allocations: 0 / 422.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.213, allocations: 11.92 kB / 422.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.2137, allocations: 211.8 kB / 422.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2137, allocations: 7.938 kB / 422.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.214, allocations: 59.97 kB / 422.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2141, allocations: 39.92 kB / 422.5 MB, free: 13.06 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.2143, allocations: 189.7 kB / 422.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.2143, allocations: 59.34 kB / 422.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.2145, allocations: 77.33 kB / 422.8 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2145, allocations: 8 kB / 422.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2145, allocations: 0 / 422.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2145, allocations: 7.984 kB / 422.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.2169, allocations: 2.045 MB / 424.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2169, allocations: 4 kB / 424.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.2176, allocations: 212.1 kB / 425.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.2176, allocations: 12 kB / 425.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.2177, allocations: 27.94 kB / 425.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.2177, allocations: 15.92 kB / 425.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.2177, allocations: 4 kB / 425.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.2195, allocations: 1.419 MB / 426.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.2196, allocations: 128.5 kB / 426.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.2197, allocations: 23.94 kB / 426.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.22, allocations: 63.95 kB / 426.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.2201, allocations: 76.78 kB / 426.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.2202, allocations: 32 kB / 426.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2203, allocations: 174 kB / 427 MB, free: 8.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2203, allocations: 4 kB / 427 MB, free: 8.281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.2207, allocations: 156 kB / 427.2 MB, free: 8.129 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001098/0.2209, allocations: 139 kB / 427.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.222, allocations: 0.7504 MB / 428.1 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.222, allocations: 4 kB / 428.1 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.2227, allocations: 462.6 kB / 428.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.2235, allocations: 124.7 kB / 428.7 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.2256, allocations: 1.895 MB / 430.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2258, allocations: 0.8687 MB / 431.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.2262, allocations: 76.97 kB / 431.5 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.2263, allocations: 55.42 kB / 431.6 MB, free: 3.645 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2263, allocations: 0 / 431.6 MB, free: 3.645 MB / 298.7 MB Notification: Performance of Templates: time 0.009778/0.2361, allocations: 6.007 MB / 437.6 MB, free: 13.66 MB / 314.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