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.001062/0.001062, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002539, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007248/0.0007248, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.00174, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.034/1.034, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1664/1.201, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.713e-06/1.713e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.569e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.008213/0.008239, allocations: 3.491 MB / 225.5 MB, free: 12.54 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.01331, allocations: 0.9351 MB / 226.4 MB, free: 11.6 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.01356, allocations: 11.94 kB / 226.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.01377, allocations: 83.16 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.0141, allocations: 162.5 kB / 226.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.01453, allocations: 159.6 kB / 226.8 MB, free: 11.19 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.01829, allocations: 0.6032 MB / 227.4 MB, free: 10.58 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.01859, allocations: 146.6 kB / 227.6 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005837/0.01918, allocations: 395.6 kB / 227.9 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.0195, allocations: 207.5 kB / 228.2 MB, free: 9.848 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.0196, allocations: 51.94 kB / 228.2 MB, free: 9.797 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.0197, allocations: 52 kB / 228.3 MB, free: 9.746 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.0198, allocations: 83.75 kB / 228.3 MB, free: 9.664 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.02001, allocations: 155.7 kB / 228.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.02052, allocations: 374.6 kB / 228.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.02053, allocations: 0 / 228.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02053, allocations: 0 / 228.9 MB, free: 9.145 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.02055, allocations: 0 / 228.9 MB, free: 9.145 MB / 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.004286/0.02483, allocations: 0.8386 MB / 229.7 MB, free: 8.281 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.02488, allocations: 12.03 kB / 229.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.02502, allocations: 76.88 kB / 229.8 MB, free: 8.195 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.02541, allocations: 228.4 kB / 230 MB, free: 7.949 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.02546, allocations: 33.38 kB / 230 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.02555, allocations: 52.36 kB / 230.1 MB, free: 7.867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.02614, allocations: 323.6 kB / 230.4 MB, free: 7.543 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.02616, allocations: 4.188 kB / 230.4 MB, free: 7.539 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.02621, allocations: 16.38 kB / 230.4 MB, free: 7.523 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.02622, allocations: 15.94 kB / 230.4 MB, free: 7.508 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.02656, allocations: 158.9 kB / 230.6 MB, free: 7.352 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.02833, allocations: 0.8534 MB / 231.4 MB, free: 6.469 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004987/0.02883, allocations: 319 kB / 231.8 MB, free: 6.148 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.02922, allocations: 219 kB / 232 MB, free: 5.934 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.02926, allocations: 16.66 kB / 232 MB, free: 5.918 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.0293, allocations: 43.22 kB / 232 MB, free: 5.863 MB / 234.7 MB Notification: Performance of pre-optimization done (n=67): time 2.514e-06/0.02931, allocations: 0 / 232 MB, free: 5.863 MB / 234.7 MB Notification: Performance of matching and sorting (n=103): time 0.003678/0.03298, allocations: 2.218 MB / 234.2 MB, free: 3.602 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.03302, allocations: 60.41 kB / 234.3 MB, free: 3.531 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.03316, allocations: 236.9 kB / 234.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.03319, allocations: 45.7 kB / 234.6 MB, free: 3.238 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.03326, allocations: 166 kB / 234.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.03342, allocations: 368.7 kB / 235.1 MB, free: 2.707 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.03355, allocations: 150.6 kB / 235.3 MB, free: 2.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.03366, allocations: 378.5 kB / 235.6 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.03376, allocations: 89.95 kB / 235.7 MB, free: 2.086 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.03391, allocations: 169.4 kB / 235.9 MB, free: 1.91 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.03419, allocations: 338.2 kB / 236.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.03419, allocations: 0 / 236.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0003547/0.03455, allocations: 391.3 kB / 236.6 MB, free: 1.184 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.03456, allocations: 8 kB / 236.6 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03457, allocations: 0 / 236.6 MB, free: 1.176 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.03458, allocations: 8.062 kB / 236.6 MB, free: 1.168 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.03506, allocations: 243.7 kB / 236.8 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.03507, allocations: 7.938 kB / 236.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.03519, allocations: 35.92 kB / 236.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.03521, allocations: 16 kB / 236.9 MB, free: 0.8711 MB / 234.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.0001356/0.03535, allocations: 153.7 kB / 237 MB, free: 0.7109 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.03542, allocations: 75.94 kB / 237.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.03551, allocations: 73.36 kB / 237.2 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.03552, allocations: 12 kB / 237.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.03553, allocations: 0 / 237.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.03553, allocations: 7.922 kB / 237.2 MB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.03677, allocations: 1.16 MB / 238.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.03677, allocations: 8 kB / 238.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.03724, allocations: 242.2 kB / 238.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.03729, allocations: 55.66 kB / 238.7 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.0373, allocations: 8 kB / 238.7 MB, free: 15 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.03733, allocations: 20 kB / 238.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.03733, allocations: 15.92 kB / 238.7 MB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.03734, allocations: 11.94 kB / 238.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/0.03802, allocations: 0.789 MB / 239.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.03806, allocations: 23.94 kB / 239.5 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.03822, allocations: 35.98 kB / 239.6 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.03831, allocations: 84.73 kB / 239.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.03833, allocations: 28.06 kB / 239.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.215e-05/0.0384, allocations: 78.77 kB / 239.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0384, allocations: 0 / 239.8 MB, free: 13.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.0387, allocations: 155.9 kB / 239.9 MB, free: 13.69 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.0001454/0.03884, allocations: 112.2 kB / 240 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.03923, allocations: 424.3 kB / 240.4 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.222e-05/0.03925, allocations: 18.61 kB / 240.5 MB, free: 13.13 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.03952, allocations: 323.7 kB / 240.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.04023, allocations: 1.053 MB / 241.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.04217, allocations: 1.206 MB / 243 MB, free: 10.26 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.953e-05/0.04226, allocations: 139.8 kB / 243.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001878/0.04245, allocations: 76.97 kB / 243.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.0427, allocations: 181.3 kB / 243.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0427, allocations: 0 / 243.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of Templates: time 0.009688/0.05239, allocations: 7.399 MB / 250.8 MB, free: 2.477 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9518953561782837]