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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 92.33 kB / 21.73 MB, free: 2.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 160.6 kB / 25.02 MB, free: 9.438 MB / 18.57 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.418/1.418, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.068e-05, allocations: 2.312 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005327/0.005358, allocations: 3.216 MB / 253.6 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.007406, allocations: 0.8965 MB / 254.5 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.00768, allocations: 11.94 kB / 254.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.00795, allocations: 87.09 kB / 254.6 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.008298, allocations: 150.6 kB / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.008822, allocations: 159.7 kB / 254.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.009556, allocations: 0.6187 MB / 255.5 MB, free: 14.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.009883, allocations: 133.9 kB / 255.6 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.01039, allocations: 351.3 kB / 256 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.01074, allocations: 211.4 kB / 256.2 MB, free: 14.1 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.01083, allocations: 48 kB / 256.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.01092, allocations: 52 kB / 256.3 MB, free: 14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.01104, allocations: 119.6 kB / 256.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.01128, allocations: 195.5 kB / 256.6 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.01204, allocations: 0.6113 MB / 257.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01205, allocations: 0 / 257.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01205, allocations: 0 / 257.2 MB, free: 13.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.01206, allocations: 8 kB / 257.2 MB, free: 13.07 MB / 250.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.002065/0.01413, allocations: 0.7739 MB / 258 MB, free: 12.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.01417, allocations: 8.031 kB / 258 MB, free: 12.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.01435, allocations: 96.56 kB / 258.1 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.01492, allocations: 276.4 kB / 258.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.01498, allocations: 33.38 kB / 258.4 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.31e-05/0.01507, allocations: 52.31 kB / 258.4 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.01608, allocations: 450.9 kB / 258.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.01611, allocations: 12.14 kB / 258.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.01616, allocations: 16.38 kB / 258.9 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.01618, allocations: 15.94 kB / 258.9 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.01729, allocations: 451.7 kB / 259.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.01984, allocations: 1.165 MB / 260.5 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.02093, allocations: 0.5023 MB / 261 MB, free: 9.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.02181, allocations: 343.2 kB / 261.3 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.02186, allocations: 12.66 kB / 261.4 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.0219, allocations: 39.22 kB / 261.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.585e-06/0.0219, allocations: 0 / 261.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.008241/0.03014, allocations: 3.036 MB / 264.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.0302, allocations: 60.41 kB / 264.5 MB, free: 5.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.03053, allocations: 237.9 kB / 264.7 MB, free: 5.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.03059, allocations: 41.7 kB / 264.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.03102, allocations: 209.5 kB / 265 MB, free: 5.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.03136, allocations: 360.8 kB / 265.3 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.0316, allocations: 142.7 kB / 265.5 MB, free: 4.586 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.03183, allocations: 366.7 kB / 265.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006473/0.03248, allocations: 269.8 kB / 266.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.03319, allocations: 353.4 kB / 266.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.03457, allocations: 0.6195 MB / 267 MB, free: 2.973 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.03457, allocations: 4 kB / 267 MB, free: 2.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001741/0.03631, allocations: 0.8135 MB / 267.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.03633, allocations: 4 kB / 267.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.03635, allocations: 0 / 267.9 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.03638, allocations: 12.06 kB / 267.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.03722, allocations: 207.7 kB / 268.1 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.03724, allocations: 4 kB / 268.1 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.03762, allocations: 55.91 kB / 268.1 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.03767, allocations: 23.98 kB / 268.2 MB, free: 1.848 MB / 250.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 (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.0002857/0.03796, allocations: 201.6 kB / 268.4 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.03815, allocations: 87.67 kB / 268.4 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.03833, allocations: 73.36 kB / 268.5 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.03834, allocations: 12 kB / 268.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.03835, allocations: 0 / 268.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.03836, allocations: 3.984 kB / 268.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/0.04177, allocations: 1.778 MB / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.04179, allocations: 4 kB / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/0.04267, allocations: 207.7 kB / 270.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.04269, allocations: 8 kB / 270.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.04275, allocations: 24 kB / 270.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.04276, allocations: 11.98 kB / 270.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.04277, allocations: 7.938 kB / 270.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.04566, allocations: 1.4 MB / 272 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.285e-05/0.04575, allocations: 47.66 kB / 272 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.408e-05/0.04584, allocations: 28.06 kB / 272 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.04625, allocations: 47.95 kB / 272.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.0464, allocations: 84.73 kB / 272.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.04645, allocations: 24 kB / 272.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.04664, allocations: 177.1 kB / 272.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04664, allocations: 0 / 272.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005504/0.04719, allocations: 160 kB / 272.5 MB, free: 13.31 MB / 266.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.0001886/0.04738, allocations: 127.1 kB / 272.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.04893, allocations: 0.6879 MB / 273.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.04893, allocations: 4 kB / 273.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008508/0.04978, allocations: 418.7 kB / 273.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.05061, allocations: 134.5 kB / 273.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.05333, allocations: 1.417 MB / 275.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.05366, allocations: 268.5 kB / 275.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.05397, allocations: 76.94 kB / 275.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.05416, allocations: 60.47 kB / 275.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.05416, allocations: 0 / 275.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01432/0.06848, allocations: 6.566 MB / 282.3 MB, free: 3.488 MB / 266.7 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: 4.424609703011811]