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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 113.1 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 194.7 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 47.92 kB / 366.8 MB, free: 440 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1414, allocations: 52.14 MB / 418.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.008034/0.1495, allocations: 3.557 MB / 422.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1516, allocations: 0.8801 MB / 423.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.152, allocations: 8 kB / 423.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1523, allocations: 87.16 kB / 423.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.1528, allocations: 146.7 kB / 423.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.1534, allocations: 159.7 kB / 423.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009411/0.1544, allocations: 0.5919 MB / 424.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.1547, allocations: 145.5 kB / 424.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.1552, allocations: 243.2 kB / 424.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/0.1557, allocations: 270.8 kB / 425 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.1559, allocations: 52 kB / 425.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.156, allocations: 52 kB / 425.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1561, allocations: 123.5 kB / 425.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.1565, allocations: 270.7 kB / 425.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000827/0.1574, allocations: 0.5991 MB / 426.1 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1574, allocations: 0 / 426.1 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1574, allocations: 0 / 426.1 MB, free: 5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.1574, allocations: 0 / 426.1 MB, free: 5 MB / 350.1 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.001944/0.1593, allocations: 0.8609 MB / 427 MB, free: 4.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1594, allocations: 8.031 kB / 427 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1595, allocations: 56.61 kB / 427 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.1604, allocations: 335.4 kB / 427.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.1604, allocations: 37.38 kB / 427.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1605, allocations: 52.33 kB / 427.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.1617, allocations: 458.6 kB / 427.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.1617, allocations: 4 kB / 427.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.958e-05/0.1617, allocations: 20 kB / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1617, allocations: 8 kB / 427.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1629, allocations: 463.6 kB / 428.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.1656, allocations: 1.367 MB / 429.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1667, allocations: 0.5019 MB / 430.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.1676, allocations: 358.8 kB / 430.6 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/0.1676, allocations: 4.562 kB / 430.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1676, allocations: 39.12 kB / 430.6 MB, free: 296 kB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.895e-06/0.1676, allocations: 0 / 430.6 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=103): time 0.008064/0.1757, allocations: 3.158 MB / 433.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.1758, allocations: 64.41 kB / 433.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1761, allocations: 255 kB / 434.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.1761, allocations: 41.7 kB / 434.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1763, allocations: 201.5 kB / 434.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.1766, allocations: 368.8 kB / 434.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.1768, allocations: 142.7 kB / 434.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.177, allocations: 362.8 kB / 435.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.1777, allocations: 273.8 kB / 435.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/0.1784, allocations: 345.4 kB / 435.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.1797, allocations: 0.6156 MB / 436.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1797, allocations: 3.938 kB / 436.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001618/0.1813, allocations: 0.79 MB / 437.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1813, allocations: 8 kB / 437.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1813, allocations: 0 / 437.2 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.1814, allocations: 7.938 kB / 437.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000837/0.1822, allocations: 207.8 kB / 437.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.1822, allocations: 8 kB / 437.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003872/0.1826, allocations: 51.83 kB / 437.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.1827, allocations: 31.98 kB / 437.5 MB, free: 9.254 MB / 366.1 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 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.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.0002909/0.1829, allocations: 189.7 kB / 437.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.183, allocations: 55.67 kB / 437.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.1833, allocations: 77.33 kB / 437.8 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.1833, allocations: 12 kB / 437.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.1833, allocations: 0 / 437.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.1833, allocations: 7.984 kB / 437.8 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.1868, allocations: 1.972 MB / 439.8 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.1868, allocations: 7.938 kB / 439.8 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/0.1877, allocations: 207.7 kB / 440 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.1877, allocations: 8 kB / 440 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/0.1878, allocations: 31.92 kB / 440.1 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.535e-05/0.1878, allocations: 11.94 kB / 440.1 MB, free: 6.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.1878, allocations: 4 kB / 440.1 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.1903, allocations: 1.38 MB / 441.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.1905, allocations: 128.8 kB / 441.6 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.428e-05/0.1906, allocations: 28 kB / 441.6 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.191, allocations: 56.08 kB / 441.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.1911, allocations: 72.78 kB / 441.7 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.1912, allocations: 39.98 kB / 441.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.1914, allocations: 182 kB / 442 MB, free: 4.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1914, allocations: 0 / 442 MB, free: 4.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000547/0.192, allocations: 152 kB / 442.1 MB, free: 4.434 MB / 366.1 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.0001941/0.1922, allocations: 131 kB / 442.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.1937, allocations: 0.6957 MB / 442.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1937, allocations: 0 / 442.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.1946, allocations: 414.7 kB / 443.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.1955, allocations: 119.4 kB / 443.5 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.1984, allocations: 1.582 MB / 445 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.199, allocations: 0.8684 MB / 445.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.1992, allocations: 63.42 kB / 446 MB, free: 456 kB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1992, allocations: 4 kB / 446 MB, free: 452 kB / 366.1 MB Notification: Performance of Templates: time 0.2126/0.4118, allocations: 7.349 MB / 453.3 MB, free: 29.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.832291841972619]