Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001562/0.001562, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 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.001666/0.001666, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 51.92 kB / 379 MB, free: 2.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2467, allocations: 53.36 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004939/0.2516, allocations: 3.684 MB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2535, allocations: 0.9626 MB / 437 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.2538, allocations: 11.94 kB / 437 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.254, allocations: 87.09 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.2544, allocations: 158.6 kB / 437.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.2549, allocations: 175.6 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007213/0.2556, allocations: 0.6267 MB / 438.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.2559, allocations: 138 kB / 438.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.2563, allocations: 267.1 kB / 438.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.2567, allocations: 286.8 kB / 438.8 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.2568, allocations: 52 kB / 438.8 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.2569, allocations: 56 kB / 438.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.257, allocations: 119.5 kB / 439 MB, free: 348 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.2572, allocations: 286.6 kB / 439.3 MB, free: 60 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007151/0.2579, allocations: 0.6276 MB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.258, allocations: 4 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.258, allocations: 0 / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.258, allocations: 0 / 439.9 MB, free: 15.43 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.001485/0.2594, allocations: 0.7776 MB / 440.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2595, allocations: 8.031 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2597, allocations: 72.55 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.2602, allocations: 289.7 kB / 441 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.2603, allocations: 37 kB / 441.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/0.2603, allocations: 51.95 kB / 441.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.2611, allocations: 418.4 kB / 441.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.2611, allocations: 8 kB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.2611, allocations: 16 kB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2612, allocations: 12 kB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007126/0.2619, allocations: 391.8 kB / 441.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.2643, allocations: 1.34 MB / 443.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008047/0.2651, allocations: 479.2 kB / 443.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.2658, allocations: 312.1 kB / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.2658, allocations: 16.62 kB / 444.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2659, allocations: 43.22 kB / 444.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.926e-06/0.2659, allocations: 4 kB / 444.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00655/0.2724, allocations: 2.861 MB / 447 MB, free: 8.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.2725, allocations: 64.41 kB / 447 MB, free: 8.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2728, allocations: 280.6 kB / 447.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.2729, allocations: 41.7 kB / 447.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.273, allocations: 213.5 kB / 447.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000288/0.2733, allocations: 376.7 kB / 447.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.2735, allocations: 146.7 kB / 448.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2737, allocations: 366.8 kB / 448.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/0.2742, allocations: 237.9 kB / 448.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.2747, allocations: 321.4 kB / 449 MB, free: 6.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.2756, allocations: 0.5727 MB / 449.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2757, allocations: 3.938 kB / 449.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001273/0.2769, allocations: 0.7315 MB / 450.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.277, allocations: 15.03 kB / 450.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.277, allocations: 3.984 kB / 450.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.277, allocations: 7.938 kB / 450.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.2778, allocations: 199.7 kB / 450.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.2778, allocations: 7.938 kB / 450.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/0.2781, allocations: 31.98 kB / 450.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.2782, allocations: 27.98 kB / 450.6 MB, free: 4.484 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.0002733/0.2784, allocations: 205.5 kB / 450.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2785, allocations: 63.67 kB / 450.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.2787, allocations: 77.62 kB / 450.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.2787, allocations: 8 kB / 450.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.2787, allocations: 0 / 450.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.2788, allocations: 3.984 kB / 450.9 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.2818, allocations: 1.91 MB / 452.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2818, allocations: 4 kB / 452.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/0.2826, allocations: 191.7 kB / 453 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.2826, allocations: 8.594 kB / 453 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.2826, allocations: 31.98 kB / 453.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.2826, allocations: 11.94 kB / 453.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2827, allocations: 4 kB / 453.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.2846, allocations: 1.298 MB / 454.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.2847, allocations: 51.62 kB / 454.4 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.2847, allocations: 32.05 kB / 454.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2851, allocations: 36.11 kB / 454.5 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2852, allocations: 80.75 kB / 454.6 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.2853, allocations: 31.98 kB / 454.6 MB, free: 264 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.2855, allocations: 195.1 kB / 454.8 MB, free: 68 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2855, allocations: 0 / 454.8 MB, free: 68 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.286, allocations: 164 kB / 455 MB, free: 15.9 MB / 366.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.0001773/0.2862, allocations: 133.2 kB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.2873, allocations: 0.6331 MB / 455.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2873, allocations: 0 / 455.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.288, allocations: 389.9 kB / 456.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.2888, allocations: 143.5 kB / 456.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.2915, allocations: 1.593 MB / 457.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.2921, allocations: 0.8764 MB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.2923, allocations: 75.41 kB / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2923, allocations: 0 / 458.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01253/0.3048, allocations: 7.717 MB / 466.5 MB, free: 4.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.557572652120143]