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.001321/0.001321, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.00155/0.00155, allocations: 163.1 kB / 25.69 MB, free: 8.418 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 0.9714/0.9714, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.493e-06/1.493e-06, allocations: 0 / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.356e-05, allocations: 6.25 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004714/0.004738, allocations: 3.439 MB / 255 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.006842, allocations: 0.9274 MB / 255.9 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.007154, allocations: 15.88 kB / 255.9 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.007389, allocations: 83.16 kB / 256 MB, free: 2.773 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004205/0.00781, allocations: 154.6 kB / 256.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.008342, allocations: 155.7 kB / 256.3 MB, free: 2.469 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.009121, allocations: 0.6148 MB / 256.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.009419, allocations: 138.6 kB / 257 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.01006, allocations: 359.2 kB / 257.4 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.0104, allocations: 211.4 kB / 257.6 MB, free: 1.148 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.01048, allocations: 52 kB / 257.6 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.01056, allocations: 56 kB / 257.7 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.01066, allocations: 115.6 kB / 257.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002613/0.01092, allocations: 191.5 kB / 258 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.01143, allocations: 414.5 kB / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01143, allocations: 0 / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01144, allocations: 0 / 258.4 MB, free: 344 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.01145, allocations: 0 / 258.4 MB, free: 344 kB / 234.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.001213/0.01266, allocations: 0.7373 MB / 259.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.0127, allocations: 12.02 kB / 259.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.01282, allocations: 80.89 kB / 259.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.01317, allocations: 232.4 kB / 259.5 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.01321, allocations: 37.38 kB / 259.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.01328, allocations: 48.38 kB / 259.5 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.0138, allocations: 319.6 kB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.01382, allocations: 8.141 kB / 259.9 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.01385, allocations: 20.38 kB / 259.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.01387, allocations: 15.94 kB / 259.9 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.01416, allocations: 166.9 kB / 260.1 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.01582, allocations: 0.8456 MB / 260.9 MB, free: 13.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/0.01628, allocations: 319 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.01664, allocations: 215 kB / 261.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.01668, allocations: 16.64 kB / 261.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.01671, allocations: 39.22 kB / 261.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.605e-06/0.01671, allocations: 0 / 261.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.004205/0.02092, allocations: 2.163 MB / 263.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.02096, allocations: 64.41 kB / 263.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.02115, allocations: 229 kB / 263.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.02119, allocations: 49.64 kB / 264 MB, free: 10.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.02129, allocations: 178 kB / 264.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/0.02155, allocations: 368.7 kB / 264.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.02174, allocations: 150.6 kB / 264.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.02187, allocations: 370.6 kB / 265 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.02204, allocations: 89.95 kB / 265.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.02227, allocations: 165.4 kB / 265.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.02271, allocations: 342.2 kB / 265.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02271, allocations: 0 / 265.6 MB, free: 8.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0005635/0.02327, allocations: 391.3 kB / 266 MB, free: 8.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.02329, allocations: 8 kB / 266 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.0233, allocations: 0 / 266 MB, free: 8.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.02332, allocations: 7.984 kB / 266 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.02392, allocations: 191.8 kB / 266.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.02393, allocations: 11.94 kB / 266.2 MB, free: 8.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.02413, allocations: 40.03 kB / 266.2 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.792e-05/0.02417, allocations: 19.94 kB / 266.3 MB, free: 8.25 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.000172/0.02434, allocations: 149.7 kB / 266.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.02445, allocations: 71.94 kB / 266.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.02456, allocations: 73.36 kB / 266.5 MB, free: 7.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.02458, allocations: 12 kB / 266.6 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.02458, allocations: 0 / 266.6 MB, free: 7.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.02459, allocations: 7.922 kB / 266.6 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.02636, allocations: 1.157 MB / 267.7 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.02637, allocations: 12.12 kB / 267.7 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.02698, allocations: 191.7 kB / 267.9 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.02699, allocations: 8 kB / 267.9 MB, free: 6.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.02703, allocations: 24 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/0.02705, allocations: 19.92 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.02705, allocations: 8 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.0282, allocations: 0.7967 MB / 268.8 MB, free: 5.559 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.02827, allocations: 51.66 kB / 268.8 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.02833, allocations: 23.98 kB / 268.9 MB, free: 5.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.02859, allocations: 31.98 kB / 268.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.02871, allocations: 80.75 kB / 269 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.02874, allocations: 27.98 kB / 269 MB, free: 5.348 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.277e-05/0.02883, allocations: 74.72 kB / 269.1 MB, free: 5.273 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02883, allocations: 0 / 269.1 MB, free: 5.273 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004858/0.02931, allocations: 156 kB / 269.2 MB, free: 5.121 MB / 250.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.0001576/0.02947, allocations: 124 kB / 269.3 MB, free: 4.996 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.03005, allocations: 415.3 kB / 269.7 MB, free: 4.586 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.03006, allocations: 4 kB / 269.7 MB, free: 4.582 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.03039, allocations: 269.2 kB / 270 MB, free: 4.32 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.03101, allocations: 132.5 kB / 270.1 MB, free: 4.195 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.03285, allocations: 1.179 MB / 271.3 MB, free: 2.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.03295, allocations: 143.7 kB / 271.5 MB, free: 2.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002238/0.03318, allocations: 76.92 kB / 271.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.03343, allocations: 177.3 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of SimCode: time 1.583e-06/0.03343, allocations: 4 kB / 271.7 MB, free: 2.516 MB / 250.7 MB Notification: Performance of Templates: time 0.009629/0.04306, allocations: 7.228 MB / 278.9 MB, free: 11.34 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.711791828740388]