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.001392/0.001392, allocations: 80.95 kB / 20.67 MB, free: 1.035 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.001358/0.001358, allocations: 150.4 kB / 23.94 MB, free: 4.176 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.457/1.457, allocations: 173.3 MB / 200.4 MB, free: 12.87 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 1.743e-06/1.743e-06, allocations: 1.438 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.897e-05, allocations: 6.219 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003502/0.003521, allocations: 3.228 MB / 322.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004863, allocations: 0.8462 MB / 323 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.005054, allocations: 15.25 kB / 323 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.005243, allocations: 78.56 kB / 323.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.005499, allocations: 155.5 kB / 323.2 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.005902, allocations: 166.9 kB / 323.4 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.006387, allocations: 0.616 MB / 324 MB, free: 220 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.006616, allocations: 130.8 kB / 324.1 MB, free: 152 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.007, allocations: 357.4 kB / 324.5 MB, free: 4 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.007315, allocations: 210.2 kB / 324.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.477e-05/0.007389, allocations: 49.5 kB / 324.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.007475, allocations: 52.25 kB / 324.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.007601, allocations: 120.3 kB / 324.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.007823, allocations: 193.6 kB / 325.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007036/0.008527, allocations: 0.6121 MB / 325.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.00853, allocations: 3.938 kB / 325.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.008531, allocations: 0 / 325.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.008539, allocations: 0 / 325.7 MB, free: 15.52 MB / 302.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.001659/0.0102, allocations: 0.7825 MB / 326.5 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.01023, allocations: 9.391 kB / 326.5 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01034, allocations: 57.2 kB / 326.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.0108, allocations: 274.8 kB / 326.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.01085, allocations: 36.98 kB / 326.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.01093, allocations: 51.06 kB / 326.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.01187, allocations: 449.4 kB / 327.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.01189, allocations: 3.453 kB / 327.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.01195, allocations: 19.53 kB / 327.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.01197, allocations: 15.78 kB / 327.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.01305, allocations: 457.1 kB / 327.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.0153, allocations: 1.159 MB / 329 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.01627, allocations: 0.5014 MB / 329.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008343/0.01711, allocations: 353.3 kB / 329.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.01715, allocations: 13.69 kB / 329.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.01719, allocations: 39.95 kB / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.01719, allocations: 0 / 329.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007869/0.02506, allocations: 3 MB / 332.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.02512, allocations: 62.69 kB / 333 MB, free: 11.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.02539, allocations: 244.5 kB / 333.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.02545, allocations: 45.11 kB / 333.2 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.02566, allocations: 198.4 kB / 333.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.02596, allocations: 357.4 kB / 333.8 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.02619, allocations: 157.5 kB / 333.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.02639, allocations: 361.7 kB / 334.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.027, allocations: 270.2 kB / 334.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006674/0.02767, allocations: 351.8 kB / 334.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.02908, allocations: 0.6212 MB / 335.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02908, allocations: 0 / 335.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001616/0.03069, allocations: 0.7807 MB / 336.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.03071, allocations: 5.125 kB / 336.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.03072, allocations: 1.219 kB / 336.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.03074, allocations: 4.469 kB / 336.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008373/0.03158, allocations: 213.8 kB / 336.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.03159, allocations: 4.906 kB / 336.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.03199, allocations: 52.27 kB / 336.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.03204, allocations: 28.75 kB / 336.6 MB, free: 9.551 MB / 302.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.0002771/0.03232, allocations: 194.5 kB / 336.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.03242, allocations: 58.61 kB / 336.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.0326, allocations: 68.53 kB / 336.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.03261, allocations: 17.8 kB / 336.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.03262, allocations: 1.438 kB / 336.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.03264, allocations: 3.984 kB / 336.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.03603, allocations: 1.765 MB / 338.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.03604, allocations: 4.594 kB / 338.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.03689, allocations: 207.7 kB / 338.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.0369, allocations: 8 kB / 338.9 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.03696, allocations: 31.98 kB / 338.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.03697, allocations: 11.94 kB / 339 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.03698, allocations: 4 kB / 339 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002602/0.03958, allocations: 1.373 MB / 340.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.03967, allocations: 47.67 kB / 340.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.03975, allocations: 28.05 kB / 340.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.04017, allocations: 47.97 kB / 340.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.04031, allocations: 76.75 kB / 340.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.04036, allocations: 35.98 kB / 340.6 MB, free: 5.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.04054, allocations: 173.2 kB / 340.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04054, allocations: 0 / 340.7 MB, free: 5.441 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005578/0.0411, allocations: 152 kB / 340.9 MB, free: 5.293 MB / 302.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.000199/0.0413, allocations: 135 kB / 341 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.04294, allocations: 0.6917 MB / 341.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.04294, allocations: 4 kB / 341.7 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008956/0.04384, allocations: 413.5 kB / 342.1 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.04465, allocations: 135.8 kB / 342.2 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.04721, allocations: 1.387 MB / 343.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.0475, allocations: 264.5 kB / 343.9 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.04781, allocations: 76.92 kB / 344 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.048, allocations: 60.48 kB / 344 MB, free: 2.031 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.048, allocations: 0 / 344 MB, free: 2.031 MB / 302.1 MB Notification: Performance of Templates: time 0.01413/0.06213, allocations: 6.533 MB / 350.6 MB, free: 11.6 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.4266416765749454]