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.0008399/0.0008399, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001988, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006503/0.0006503, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009662/0.001616, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8377/0.8377, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1625/1, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.449e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.009315/0.009339, allocations: 3.517 MB / 243.3 MB, free: 2.828 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.01458, allocations: 0.9005 MB / 244.2 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.01503, allocations: 11.94 kB / 244.2 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.01525, allocations: 75.17 kB / 244.2 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.01564, allocations: 161.8 kB / 244.4 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.01611, allocations: 161.1 kB / 244.6 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.01675, allocations: 0.6149 MB / 245.2 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.01701, allocations: 138.6 kB / 245.3 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.02065, allocations: 391.7 kB / 245.7 MB, free: 396 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.02099, allocations: 212 kB / 245.9 MB, free: 184 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.112e-05/0.02108, allocations: 48.59 kB / 246 MB, free: 136 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.02117, allocations: 52 kB / 246 MB, free: 84 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.02127, allocations: 88.34 kB / 246.1 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.02144, allocations: 153.4 kB / 246.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000489/0.02193, allocations: 378.6 kB / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.02194, allocations: 0 / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.02195, allocations: 0 / 246.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.02196, allocations: 0 / 246.6 MB, free: 15.47 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.004269/0.02623, allocations: 0.8398 MB / 247.4 MB, free: 14.61 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.02627, allocations: 12.03 kB / 247.5 MB, free: 14.6 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.0264, allocations: 73.53 kB / 247.5 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.02679, allocations: 231 kB / 247.8 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.02684, allocations: 33.38 kB / 247.8 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.02692, allocations: 56.31 kB / 247.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.02744, allocations: 319.6 kB / 248.2 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.02747, allocations: 5.641 kB / 248.2 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.0275, allocations: 16.38 kB / 248.2 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.02751, allocations: 15.94 kB / 248.2 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002964/0.02781, allocations: 154.9 kB / 248.3 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.03251, allocations: 0.8573 MB / 249.2 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.03298, allocations: 323 kB / 249.5 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.03336, allocations: 207.2 kB / 249.7 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.0334, allocations: 12.66 kB / 249.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.03344, allocations: 43.22 kB / 249.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.895e-06/0.03344, allocations: 0 / 249.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.004405/0.03784, allocations: 2.214 MB / 252 MB, free: 9.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.03789, allocations: 64.41 kB / 252.1 MB, free: 9.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.03808, allocations: 233 kB / 252.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.03812, allocations: 41.7 kB / 252.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.03821, allocations: 181.9 kB / 252.5 MB, free: 9.418 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.03844, allocations: 364.7 kB / 252.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.03862, allocations: 150.6 kB / 253 MB, free: 8.906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.03875, allocations: 370.6 kB / 253.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.03891, allocations: 93.89 kB / 253.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.03913, allocations: 169.4 kB / 253.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004588/0.03959, allocations: 342.2 kB / 254 MB, free: 7.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0396, allocations: 0 / 254 MB, free: 7.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0005608/0.04016, allocations: 391.4 kB / 254.3 MB, free: 7.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.04018, allocations: 8 kB / 254.3 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.04019, allocations: 7.922 kB / 254.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.04021, allocations: 4 kB / 254.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.04104, allocations: 235.7 kB / 254.6 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.04105, allocations: 16 kB / 254.6 MB, free: 7.273 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.04135, allocations: 31.98 kB / 254.6 MB, free: 7.242 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.04137, allocations: 19.98 kB / 254.7 MB, free: 7.223 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.0001609/0.04154, allocations: 153.7 kB / 254.8 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/0.04162, allocations: 67.95 kB / 254.9 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.04171, allocations: 73.36 kB / 254.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.04172, allocations: 12 kB / 255 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.04172, allocations: 0 / 255 MB, free: 6.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.04173, allocations: 15.89 kB / 255 MB, free: 6.895 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.04304, allocations: 1.157 MB / 256.1 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.04305, allocations: 8 kB / 256.1 MB, free: 5.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.04353, allocations: 241.7 kB / 256.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.198e-05/0.04363, allocations: 47.66 kB / 256.4 MB, free: 5.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.04364, allocations: 12 kB / 256.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.04367, allocations: 23.98 kB / 256.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.904e-06/0.04368, allocations: 15.88 kB / 256.5 MB, free: 5.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.04368, allocations: 8 kB / 256.5 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.04434, allocations: 0.8045 MB / 257.3 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.04438, allocations: 20 kB / 257.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.04454, allocations: 31.98 kB / 257.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.04462, allocations: 80.75 kB / 257.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.04464, allocations: 27.98 kB / 257.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.04471, allocations: 74.78 kB / 257.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04471, allocations: 4 kB / 257.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.04499, allocations: 155.9 kB / 257.7 MB, free: 4.035 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.0001146/0.04511, allocations: 120.2 kB / 257.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.04558, allocations: 416.3 kB / 258.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/0.0456, allocations: 14.61 kB / 258.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.04587, allocations: 334.8 kB / 258.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006851/0.04655, allocations: 1.058 MB / 259.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.04863, allocations: 1.191 MB / 260.8 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.905e-05/0.04872, allocations: 143.7 kB / 260.9 MB, free: 468 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001969/0.04892, allocations: 80.97 kB / 261 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.04916, allocations: 181.3 kB / 261.2 MB, free: 204 kB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.04916, allocations: 0 / 261.2 MB, free: 204 kB / 250.7 MB Notification: Performance of Templates: time 0.009591/0.05875, allocations: 7.397 MB / 268.6 MB, free: 8.961 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] 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","",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.5248286202549934]