Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 194.9 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251.4 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] 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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 52.05 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 52.14 MB / 421.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002914/0.2701, allocations: 1.532 MB / 422.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.272, allocations: 0.8518 MB / 423.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.2721, allocations: 0 / 423.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2722, allocations: 15.86 kB / 423.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2723, allocations: 27.84 kB / 423.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.2726, allocations: 47.89 kB / 423.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000245/0.2728, allocations: 135.7 kB / 423.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2729, allocations: 19.97 kB / 423.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004847/0.2734, allocations: 387.3 kB / 424.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.2735, allocations: 67.69 kB / 424.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.2736, allocations: 8 kB / 424.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.2736, allocations: 12 kB / 424.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.2737, allocations: 67.7 kB / 424.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2738, allocations: 107.2 kB / 424.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.2742, allocations: 363.7 kB / 424.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2742, allocations: 8 kB / 424.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2742, allocations: 0 / 424.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2743, allocations: 0 / 424.9 MB, free: 11.56 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00088/0.2751, allocations: 0.7382 MB / 425.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2752, allocations: 8.031 kB / 425.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.2753, allocations: 44.7 kB / 425.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.2756, allocations: 270.7 kB / 426 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.2756, allocations: 16.3 kB / 426 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2756, allocations: 8.375 kB / 426 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.2759, allocations: 125.9 kB / 426.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.276, allocations: 4 kB / 426.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.276, allocations: 0 / 426.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.276, allocations: 4 kB / 426.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.2761, allocations: 59.91 kB / 426.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.2768, allocations: 460.5 kB / 426.6 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.277, allocations: 78.48 kB / 426.7 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.2771, allocations: 64.88 kB / 426.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2771, allocations: 0 / 426.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.2775, allocations: 197.5 kB / 427 MB, free: 9.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.2775, allocations: 0 / 427 MB, free: 9.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008403/0.2784, allocations: 468.1 kB / 427.4 MB, free: 8.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.2785, allocations: 170.2 kB / 427.6 MB, free: 8.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.2792, allocations: 0.5169 MB / 428.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.2792, allocations: 29.7 kB / 428.1 MB, free: 8.051 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.2793, allocations: 97.12 kB / 428.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.2793, allocations: 27.81 kB / 428.2 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2794, allocations: 81.55 kB / 428.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2796, allocations: 326.8 kB / 428.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2797, allocations: 55.97 kB / 428.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.2799, allocations: 73.69 kB / 428.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.2803, allocations: 343.4 kB / 429.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2803, allocations: 0 / 429.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005697/0.2808, allocations: 383.4 kB / 429.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.281, allocations: 122.9 kB / 429.6 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.281, allocations: 3.938 kB / 429.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.281, allocations: 4 kB / 429.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.201e-05/0.281, allocations: 0 / 429.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.281, allocations: 0 / 429.6 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2811, allocations: 16.02 kB / 429.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.2812, allocations: 44.12 kB / 429.7 MB, free: 6.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003933/0.2816, allocations: 366.2 kB / 430 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.2817, allocations: 43.77 kB / 430.1 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2818, allocations: 63.14 kB / 430.1 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2818, allocations: 4 kB / 430.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2818, allocations: 0 / 430.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2818, allocations: 0 / 430.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.2829, allocations: 0.8134 MB / 431 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2829, allocations: 4 kB / 431 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-06/0.2829, allocations: 0 / 431 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2829, allocations: 3.938 kB / 431 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.2829, allocations: 8 kB / 431 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2829, allocations: 3.984 kB / 431 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2829, allocations: 3.938 kB / 431 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.2836, allocations: 0.5332 MB / 431.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.284, allocations: 244.6 kB / 431.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.284, allocations: 15.98 kB / 431.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2842, allocations: 8 kB / 431.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2843, allocations: 31.89 kB / 431.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.2844, allocations: 40 kB / 431.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005248/0.2849, allocations: 390.9 kB / 432.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2849, allocations: 3.938 kB / 432.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.2852, allocations: 40 kB / 432.3 MB, free: 3.609 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001732/0.2853, allocations: 119 kB / 432.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000548/0.2859, allocations: 369.5 kB / 432.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2859, allocations: 4 kB / 432.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.2862, allocations: 297.8 kB / 433 MB, free: 2.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.2868, allocations: 126.5 kB / 433.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2881, allocations: 0.7057 MB / 433.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.2886, allocations: 0.8099 MB / 434.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.2886, allocations: 11.44 kB / 434.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2886, allocations: 0 / 434.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of Templates: time 0.005023/0.2936, allocations: 2.512 MB / 437.2 MB, free: 14.52 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches