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.001716/0.001716, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001956/0.001956, allocations: 193.2 kB / 24.47 MB, free: 4.152 MB / 14.72 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 1.447/1.447, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001519/0.001519, allocations: 43.94 kB / 371.7 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2418, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004893/0.2467, allocations: 3.577 MB / 427.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2483, allocations: 0.8801 MB / 428.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.2485, allocations: 15.88 kB / 428.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.2487, allocations: 79.22 kB / 428.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.249, allocations: 150.6 kB / 428.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.2494, allocations: 159.6 kB / 428.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006435/0.25, allocations: 0.5957 MB / 429.3 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.2503, allocations: 138 kB / 429.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.2506, allocations: 251.2 kB / 429.7 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.251, allocations: 274.9 kB / 430 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.251, allocations: 52 kB / 430 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.2511, allocations: 52 kB / 430.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.2512, allocations: 115.6 kB / 430.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.2515, allocations: 270.7 kB / 430.4 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.2521, allocations: 0.6042 MB / 431.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2521, allocations: 0 / 431.1 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2521, allocations: 3.938 kB / 431.1 MB, free: 7.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.2522, allocations: 0 / 431.1 MB, free: 7.473 MB / 334.1 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.001625/0.2538, allocations: 0.7817 MB / 431.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2538, allocations: 8.031 kB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.839e-05/0.2539, allocations: 60.59 kB / 431.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.2544, allocations: 269.1 kB / 432.2 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.2544, allocations: 33.38 kB / 432.2 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.2545, allocations: 48.33 kB / 432.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.2554, allocations: 466.6 kB / 432.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.2555, allocations: 0 / 432.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.2555, allocations: 20 kB / 432.7 MB, free: 5.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2555, allocations: 12 kB / 432.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2566, allocations: 451.7 kB / 433.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.2589, allocations: 1.332 MB / 434.5 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009712/0.2599, allocations: 0.5089 MB / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.2607, allocations: 348 kB / 435.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.2608, allocations: 16.56 kB / 435.4 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2608, allocations: 43.22 kB / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.764e-06/0.2608, allocations: 0 / 435.4 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.00739/0.2682, allocations: 3.005 MB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.2683, allocations: 64.41 kB / 438.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2685, allocations: 248.2 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.2686, allocations: 45.7 kB / 438.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.2687, allocations: 197.5 kB / 439 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.269, allocations: 368.8 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.2692, allocations: 142.7 kB / 439.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2694, allocations: 362.8 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005978/0.27, allocations: 277.8 kB / 440.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.2707, allocations: 341.4 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.2719, allocations: 0.6273 MB / 441 MB, free: 13.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2719, allocations: 4 kB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001514/0.2735, allocations: 0.7783 MB / 441.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.2735, allocations: 11.98 kB / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2735, allocations: 0 / 441.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2735, allocations: 7.938 kB / 441.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008398/0.2743, allocations: 215.8 kB / 442.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.2744, allocations: 4 kB / 442.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.2747, allocations: 43.91 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/0.2748, allocations: 31.98 kB / 442.1 MB, free: 12.15 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 (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.0002566/0.275, allocations: 193.6 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.2751, allocations: 55.67 kB / 442.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.2753, allocations: 85.33 kB / 442.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.2753, allocations: 12 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2753, allocations: 0 / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.2753, allocations: 3.984 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.2786, allocations: 1.945 MB / 444.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.2786, allocations: 4 kB / 444.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.2794, allocations: 203.7 kB / 444.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.2794, allocations: 8 kB / 444.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.2794, allocations: 31.92 kB / 444.7 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.26e-05/0.2795, allocations: 11.94 kB / 444.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2795, allocations: 4 kB / 444.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.2818, allocations: 1.377 MB / 446.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.983e-05/0.2819, allocations: 55.66 kB / 446.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.2819, allocations: 28 kB / 446.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.2823, allocations: 47.95 kB / 446.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2824, allocations: 84.75 kB / 446.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.2825, allocations: 28 kB / 446.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.2827, allocations: 183 kB / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2827, allocations: 0 / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.2832, allocations: 156 kB / 446.6 MB, free: 7.453 MB / 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 (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.0001571/0.2834, allocations: 126.3 kB / 446.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.2848, allocations: 0.6957 MB / 447.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2848, allocations: 0 / 447.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.2855, allocations: 418.1 kB / 447.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2862, allocations: 125 kB / 448 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.2889, allocations: 1.584 MB / 449.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.2894, allocations: 0.8723 MB / 450.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.2896, allocations: 63.41 kB / 450.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2896, allocations: 0 / 450.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Templates: time 0.0113/0.3009, allocations: 7.353 MB / 457.9 MB, free: 12.11 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.621245881076902]