Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 214.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 64.05 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2751, allocations: 53.4 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00496/0.28, allocations: 3.329 MB / 435 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.2822, allocations: 0.9237 MB / 435.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.2825, allocations: 11.94 kB / 435.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002367/0.2827, allocations: 83.16 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.283, allocations: 162.5 kB / 436.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.2835, allocations: 171.7 kB / 436.3 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000633/0.2842, allocations: 0.6228 MB / 436.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.2844, allocations: 134 kB / 437.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.2848, allocations: 267.1 kB / 437.3 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.2851, allocations: 246.8 kB / 437.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.2852, allocations: 52 kB / 437.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2853, allocations: 56 kB / 437.7 MB, free: 484 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2854, allocations: 119.6 kB / 437.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.2857, allocations: 239 kB / 438 MB, free: 124 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006985/0.2864, allocations: 0.6362 MB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2864, allocations: 0 / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2864, allocations: 0 / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2864, allocations: 0 / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001426/0.2878, allocations: 0.7776 MB / 439.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.2878, allocations: 8.031 kB / 439.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.288, allocations: 72.55 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.2885, allocations: 293.7 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2886, allocations: 37 kB / 439.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.572e-05/0.2887, allocations: 55.94 kB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/0.2894, allocations: 414.4 kB / 440.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2894, allocations: 3.938 kB / 440.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.2895, allocations: 20 kB / 440.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.2895, allocations: 15.98 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.2903, allocations: 379.8 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.2925, allocations: 1.165 MB / 441.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.2933, allocations: 480.5 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.294, allocations: 308.3 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.56e-05/0.294, allocations: 12.66 kB / 442.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.294, allocations: 39.22 kB / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.964e-06/0.294, allocations: 0 / 442.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006384/0.3004, allocations: 2.874 MB / 445.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3005, allocations: 68.41 kB / 445.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.3008, allocations: 268.2 kB / 445.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.3008, allocations: 41.7 kB / 445.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.301, allocations: 209.5 kB / 446.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.3013, allocations: 380.7 kB / 446.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.3015, allocations: 146.7 kB / 446.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3016, allocations: 362.8 kB / 447 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.3021, allocations: 241.9 kB / 447.2 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.3026, allocations: 313.4 kB / 447.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.3035, allocations: 0.5844 MB / 448.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3036, allocations: 0 / 448.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00126/0.3048, allocations: 0.7354 MB / 448.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3048, allocations: 4 kB / 448.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3048, allocations: 4 kB / 448.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3049, allocations: 4 kB / 448.9 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.3056, allocations: 203.7 kB / 449.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.3057, allocations: 8.062 kB / 449.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.3059, allocations: 31.98 kB / 449.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.306, allocations: 28 kB / 449.1 MB, free: 4.754 MB / 350.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 (117): * Single equations (assignments): 117 * 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.0002498/0.3062, allocations: 201.6 kB / 449.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.3063, allocations: 59.61 kB / 449.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.3065, allocations: 81.55 kB / 449.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3065, allocations: 8 kB / 449.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3065, allocations: 0 / 449.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3065, allocations: 3.984 kB / 449.5 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.3093, allocations: 1.72 MB / 451.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.3093, allocations: 4 kB / 451.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.3101, allocations: 199.6 kB / 451.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.3101, allocations: 8 kB / 451.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.3102, allocations: 31.94 kB / 451.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.3102, allocations: 15.92 kB / 451.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.3102, allocations: 8 kB / 451.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3121, allocations: 1.287 MB / 452.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.3122, allocations: 63.61 kB / 452.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.3123, allocations: 20 kB / 452.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.3126, allocations: 39.92 kB / 452.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.3128, allocations: 76.8 kB / 452.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.3128, allocations: 35.94 kB / 453 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.313, allocations: 187.1 kB / 453.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.313, allocations: 0 / 453.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.3135, allocations: 160 kB / 453.3 MB, free: 400 kB / 350.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 (107): * Single equations (assignments): 107 * 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.0001686/0.3137, allocations: 134.9 kB / 453.5 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.3148, allocations: 0.6372 MB / 454.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3148, allocations: 0 / 454.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006506/0.3155, allocations: 390.3 kB / 454.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.3163, allocations: 129.1 kB / 454.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3189, allocations: 1.56 MB / 456.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3192, allocations: 280.9 kB / 456.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.3196, allocations: 85.2 kB / 456.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.3198, allocations: 55.42 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3198, allocations: 0 / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.0151/0.3349, allocations: 7.738 MB / 464.3 MB, free: 5.398 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.732407255098224]