Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001387/0.001387, allocations: 106 kB / 21.18 MB, free: 0.5508 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.001706/0.001706, allocations: 189 kB / 24.47 MB, free: 3.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 55.92 kB / 347.6 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3186, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004795/0.3234, allocations: 3.546 MB / 400.4 MB, free: 7.004 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001637/0.3251, allocations: 0.9155 MB / 401.3 MB, free: 6.34 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.3253, allocations: 12.16 kB / 401.3 MB, free: 6.336 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000222/0.3255, allocations: 78.14 kB / 401.4 MB, free: 6.289 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.3258, allocations: 152 kB / 401.5 MB, free: 6.176 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3262, allocations: 156 kB / 401.7 MB, free: 6.086 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3268, allocations: 0.5931 MB / 402.3 MB, free: 5.789 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.327, allocations: 146.2 kB / 402.4 MB, free: 5.699 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003025/0.3273, allocations: 254.1 kB / 402.6 MB, free: 5.582 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.3276, allocations: 271.8 kB / 402.9 MB, free: 5.453 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.3277, allocations: 54.22 kB / 403 MB, free: 5.449 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.3278, allocations: 51.81 kB / 403 MB, free: 5.449 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.21e-05/0.3279, allocations: 118.1 kB / 403.1 MB, free: 5.367 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.3281, allocations: 274.2 kB / 403.4 MB, free: 5.203 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.3287, allocations: 0.5903 MB / 404 MB, free: 4.969 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3288, allocations: 0.9375 kB / 404 MB, free: 4.969 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.432e-06/0.3288, allocations: 0 / 404 MB, free: 4.969 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.339e-05/0.3288, allocations: 0 / 404 MB, free: 4.969 MB / 318.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.001618/0.3304, allocations: 0.7874 MB / 404.8 MB, free: 4.453 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3304, allocations: 8.844 kB / 404.8 MB, free: 4.453 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3305, allocations: 58.23 kB / 404.8 MB, free: 4.426 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3309, allocations: 270.4 kB / 405.1 MB, free: 4.203 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.331, allocations: 44.34 kB / 405.1 MB, free: 4.18 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.3311, allocations: 51.58 kB / 405.2 MB, free: 4.16 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009498/0.332, allocations: 453.4 kB / 405.6 MB, free: 3.988 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.332, allocations: 2.359 kB / 405.6 MB, free: 3.988 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.3321, allocations: 18.84 kB / 405.7 MB, free: 3.973 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3321, allocations: 15.28 kB / 405.7 MB, free: 3.969 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3332, allocations: 459.5 kB / 406.1 MB, free: 3.844 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.3354, allocations: 1.333 MB / 407.5 MB, free: 3.086 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.3362, allocations: 0.5031 MB / 408 MB, free: 2.867 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.3371, allocations: 344.7 kB / 408.3 MB, free: 2.762 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.759e-05/0.3372, allocations: 9.312 kB / 408.3 MB, free: 2.762 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.3372, allocations: 38.45 kB / 408.3 MB, free: 2.719 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=67): time 2.344e-06/0.3372, allocations: 0 / 408.3 MB, free: 2.719 MB / 318.1 MB
Notification: Performance of matching and sorting (n=103): time 0.007353/0.3446, allocations: 3.012 MB / 411.4 MB, free: 1.258 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3446, allocations: 61.28 kB / 411.4 MB, free: 1.195 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.3448, allocations: 268 kB / 411.7 MB, free: 1.008 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3449, allocations: 41.61 kB / 411.7 MB, free: 0.9648 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.345, allocations: 195.2 kB / 411.9 MB, free: 0.7891 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.3451, allocations: 369.7 kB / 412.3 MB, free: 476 kB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.3453, allocations: 144.9 kB / 412.4 MB, free: 384 kB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 6.94e-05/0.3454, allocations: 362.7 kB / 412.8 MB, free: 24 kB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006349/0.346, allocations: 273.3 kB / 413 MB, free: 15.89 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.3467, allocations: 346.4 kB / 413.4 MB, free: 15.7 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.348, allocations: 0.6282 MB / 414 MB, free: 15.38 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.348, allocations: 0 / 414 MB, free: 15.38 MB / 334.1 MB
Notification: Performance of matching and sorting (n=113) (initialization): time 0.001734/0.3497, allocations: 0.7784 MB / 414.8 MB, free: 15.01 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3498, allocations: 5.719 kB / 414.8 MB, free: 15.01 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3498, allocations: 4.062 kB / 414.8 MB, free: 15.01 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.3498, allocations: 8.438 kB / 414.8 MB, free: 15 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.3507, allocations: 206.2 kB / 415 MB, free: 14.96 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.3507, allocations: 13.02 kB / 415 MB, free: 14.95 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3512, allocations: 43.56 kB / 415.1 MB, free: 14.93 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.3512, allocations: 31.89 kB / 415.1 MB, free: 14.91 MB / 334.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.0003114/0.3515, allocations: 192.1 kB / 415.3 MB, free: 14.74 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3517, allocations: 54.11 kB / 415.3 MB, free: 14.71 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3519, allocations: 81.47 kB / 415.4 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3519, allocations: 9.875 kB / 415.4 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/0.3519, allocations: 0 / 415.4 MB, free: 14.64 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.3519, allocations: 7.922 kB / 415.4 MB, free: 14.63 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003702/0.3556, allocations: 1.937 MB / 417.4 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3556, allocations: 5.5 kB / 417.4 MB, free: 13.29 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.3565, allocations: 200.8 kB / 417.6 MB, free: 13.24 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.3565, allocations: 8.125 kB / 417.6 MB, free: 13.24 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.3566, allocations: 34.92 kB / 417.6 MB, free: 13.22 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.3566, allocations: 12.09 kB / 417.6 MB, free: 13.21 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/0.3566, allocations: 9.344 kB / 417.6 MB, free: 13.21 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.3593, allocations: 1.372 MB / 419 MB, free: 12.36 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3594, allocations: 58.8 kB / 419 MB, free: 12.32 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.557e-05/0.3595, allocations: 25.78 kB / 419.1 MB, free: 12.3 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3599, allocations: 43.81 kB / 419.1 MB, free: 12.29 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.36, allocations: 82.09 kB / 419.2 MB, free: 12.23 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.3601, allocations: 35.48 kB / 419.2 MB, free: 12.22 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001873/0.3603, allocations: 177.5 kB / 419.4 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3603, allocations: 0 / 419.4 MB, free: 12.1 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.000547/0.3608, allocations: 155.3 kB / 419.6 MB, free: 12.07 MB / 334.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.0001683/0.361, allocations: 130.4 kB / 419.7 MB, free: 11.95 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.001485/0.3625, allocations: 0.6952 MB / 420.4 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3625, allocations: 3.938 kB / 420.4 MB, free: 11.38 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007941/0.3633, allocations: 425.5 kB / 420.8 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.3641, allocations: 118 kB / 420.9 MB, free: 10.85 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.3669, allocations: 1.536 MB / 422.5 MB, free: 9.227 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.3674, allocations: 0.8684 MB / 423.3 MB, free: 8.328 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.0003311/0.3677, allocations: 80.97 kB / 423.4 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3679, allocations: 55.42 kB / 423.5 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of SimCode: time 7.72e-07/0.3679, allocations: 0 / 423.5 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of Templates: time 0.01465/0.3826, allocations: 7.172 MB / 430.6 MB, free: 1.012 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.05158088542521]