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.001608/0.001608, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001948/0.001948, allocations: 209.6 kB / 24.48 MB, free: 3.973 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001577/0.001577, allocations: 55.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2375, allocations: 53.35 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004942/0.2425, allocations: 3.322 MB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2445, allocations: 0.9237 MB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.2447, allocations: 19.88 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.245, allocations: 83.16 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.2453, allocations: 162.5 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.2457, allocations: 167.7 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007592/0.2465, allocations: 0.6228 MB / 437.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.2468, allocations: 145.7 kB / 437.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.2471, allocations: 263.1 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.2475, allocations: 286.8 kB / 438.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.2476, allocations: 52 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2477, allocations: 52 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.2478, allocations: 123.6 kB / 438.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.248, allocations: 242.9 kB / 438.7 MB, free: 292 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.2487, allocations: 0.6255 MB / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2487, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2487, allocations: 0 / 439.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2487, allocations: 0 / 439.4 MB, free: 15.66 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.001441/0.2501, allocations: 0.7813 MB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2502, allocations: 8.031 kB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.2504, allocations: 76.55 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.2509, allocations: 289.7 kB / 440.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.2509, allocations: 33 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.816e-05/0.251, allocations: 55.94 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.2518, allocations: 426.3 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.2518, allocations: 3.984 kB / 441 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.2518, allocations: 20 kB / 441 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.2518, allocations: 12 kB / 441.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.2526, allocations: 383.8 kB / 441.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.2548, allocations: 1.157 MB / 442.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007888/0.2556, allocations: 483.8 kB / 443.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.2563, allocations: 308.1 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.2563, allocations: 8.656 kB / 443.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.2563, allocations: 43.22 kB / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.034e-06/0.2563, allocations: 0 / 443.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006489/0.2628, allocations: 2.887 MB / 446.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.2629, allocations: 68.34 kB / 446.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.2632, allocations: 264.2 kB / 446.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.2632, allocations: 41.7 kB / 446.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2634, allocations: 209.5 kB / 446.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.2637, allocations: 380.7 kB / 447.2 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.2639, allocations: 146.7 kB / 447.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.2641, allocations: 362.8 kB / 447.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.2645, allocations: 241.9 kB / 448 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.265, allocations: 317.4 kB / 448.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.266, allocations: 0.5766 MB / 448.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.266, allocations: 0 / 448.9 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00123/0.2673, allocations: 0.7354 MB / 449.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2673, allocations: 7.984 kB / 449.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2673, allocations: 0 / 449.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2673, allocations: 4 kB / 449.6 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.2681, allocations: 203.8 kB / 449.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2681, allocations: 4 kB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.2684, allocations: 35.98 kB / 449.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.2684, allocations: 27.98 kB / 449.9 MB, free: 4.914 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.0002521/0.2687, allocations: 201.6 kB / 450.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.852e-05/0.2688, allocations: 59.61 kB / 450.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.2689, allocations: 77.56 kB / 450.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.2689, allocations: 8 kB / 450.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.269, allocations: 0 / 450.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.269, allocations: 7.984 kB / 450.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.2718, allocations: 1.724 MB / 451.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.2718, allocations: 4 kB / 452 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.2725, allocations: 195.7 kB / 452.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.2725, allocations: 8 kB / 452.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.2726, allocations: 27.98 kB / 452.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.2726, allocations: 8 kB / 452.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.2726, allocations: 11.94 kB / 452.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.2745, allocations: 1.291 MB / 453.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2746, allocations: 63.61 kB / 453.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.2747, allocations: 20 kB / 453.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.275, allocations: 35.98 kB / 453.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2752, allocations: 80.73 kB / 453.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.2752, allocations: 32 kB / 453.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.2754, allocations: 187.1 kB / 453.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2754, allocations: 4 kB / 453.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000542/0.276, allocations: 156 kB / 454.1 MB, free: 0.5586 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 (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.0001664/0.2761, allocations: 135 kB / 454.2 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001151/0.2773, allocations: 0.6371 MB / 454.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2773, allocations: 3.938 kB / 454.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00065/0.2779, allocations: 389.9 kB / 455.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.2788, allocations: 139.5 kB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.2813, allocations: 1.589 MB / 456.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2816, allocations: 280.9 kB / 457.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.2818, allocations: 67.42 kB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2818, allocations: 3.938 kB / 457.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01301/0.2948, allocations: 7.92 MB / 465.2 MB, free: 5.309 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.709262955992017]