Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001581/0.001582, allocations: 200.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007337/0.0007336, allocations: 98.08 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002014/0.0002014, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002444/0.1983, allocations: 3.034 MB / 415.1 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1995, allocations: 1.119 MB / 416.2 MB, free: 21.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1996, allocations: 11.94 kB / 416.2 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.1998, allocations: 59.53 kB / 416.3 MB, free: 21.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.2, allocations: 119 kB / 416.4 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.2003, allocations: 139.8 kB / 416.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.2007, allocations: 0.5723 MB / 417.1 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.2009, allocations: 158.3 kB / 417.3 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.2011, allocations: 199.3 kB / 417.5 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2013, allocations: 250.8 kB / 417.7 MB, free: 20.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.2014, allocations: 28 kB / 417.7 MB, free: 20.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.555e-05/0.2015, allocations: 31.98 kB / 417.8 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.582e-05/0.2015, allocations: 95.59 kB / 417.8 MB, free: 20.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.2017, allocations: 264.4 kB / 418.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.202, allocations: 0.554 MB / 418.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.202, allocations: 0 / 418.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.202, allocations: 4 kB / 418.7 MB, free: 19.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2021, allocations: 0 / 418.7 MB, free: 19.2 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.001216/0.2033, allocations: 0.8031 MB / 419.5 MB, free: 18.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2033, allocations: 12.03 kB / 419.5 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2035, allocations: 68.27 kB / 419.5 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2038, allocations: 323.2 kB / 419.9 MB, free: 17.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.2038, allocations: 33.38 kB / 419.9 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.2039, allocations: 44.38 kB / 419.9 MB, free: 17.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.2047, allocations: 474.7 kB / 420.4 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.2047, allocations: 7.906 kB / 420.4 MB, free: 17.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.2047, allocations: 16 kB / 420.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.2048, allocations: 12 kB / 420.4 MB, free: 17.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.2056, allocations: 491.7 kB / 420.9 MB, free: 16.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.2074, allocations: 1.394 MB / 422.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.2082, allocations: 0.5392 MB / 422.8 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.2089, allocations: 398.8 kB / 423.2 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.2089, allocations: 16.48 kB / 423.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.2089, allocations: 43.05 kB / 423.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 1.684e-06/0.2089, allocations: 0 / 423.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.006011/0.215, allocations: 3.297 MB / 426.6 MB, free: 11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.215, allocations: 60.41 kB / 426.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.2152, allocations: 251 kB / 426.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2152, allocations: 41.7 kB / 426.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.2153, allocations: 193.2 kB / 427.1 MB, free: 10.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.2154, allocations: 346.9 kB / 427.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.2155, allocations: 24 kB / 427.5 MB, free: 10.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.2155, allocations: 362.8 kB / 427.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.216, allocations: 289.8 kB / 428.1 MB, free: 9.426 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.2166, allocations: 365.3 kB / 428.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.2176, allocations: 0.6508 MB / 429.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2176, allocations: 0 / 429.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001224/0.2188, allocations: 0.8172 MB / 430 MB, free: 7.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2188, allocations: 5.25 kB / 430 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2189, allocations: 0 / 430 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2189, allocations: 11.94 kB / 430 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.2196, allocations: 219.7 kB / 430.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2196, allocations: 7.938 kB / 430.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.2199, allocations: 63.95 kB / 430.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.22, allocations: 24 kB / 430.3 MB, free: 7.254 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.0001638/0.2202, allocations: 205.6 kB / 430.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.798e-05/0.2202, allocations: 55.34 kB / 430.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2204, allocations: 73.33 kB / 430.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2204, allocations: 12 kB / 430.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2204, allocations: 0 / 430.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.2204, allocations: 3.984 kB / 430.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.2228, allocations: 2.033 MB / 432.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2228, allocations: 4 kB / 432.7 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.2235, allocations: 224.3 kB / 432.9 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.2235, allocations: 8 kB / 432.9 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.2236, allocations: 31.92 kB / 432.9 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.2236, allocations: 8 kB / 432.9 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2236, allocations: 7.938 kB / 432.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.2253, allocations: 1.415 MB / 434.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.2254, allocations: 128.5 kB / 434.5 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.2255, allocations: 27.94 kB / 434.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.2259, allocations: 67.95 kB / 434.6 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.226, allocations: 72.8 kB / 434.6 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.226, allocations: 35.98 kB / 434.7 MB, free: 2.637 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.2261, allocations: 181.8 kB / 434.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2262, allocations: 0 / 434.8 MB, free: 2.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004573/0.2266, allocations: 156 kB / 435 MB, free: 2.309 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.0001551/0.2268, allocations: 139 kB / 435.1 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.228, allocations: 0.7504 MB / 435.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.228, allocations: 0 / 435.9 MB, free: 1.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.2286, allocations: 462.7 kB / 436.3 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007503/0.2294, allocations: 112.8 kB / 436.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.2317, allocations: 1.903 MB / 438.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.2321, allocations: 0.8687 MB / 439.2 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.2324, allocations: 80.97 kB / 439.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2326, allocations: 55.42 kB / 439.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2326, allocations: 0 / 439.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of Templates: time 0.01015/0.2428, allocations: 5.998 MB / 445.3 MB, free: 7.855 MB / 314.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