Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.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.002057/0.002057, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002314/0.002314, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 51.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2768, allocations: 53.35 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002714/0.2795, allocations: 1.51 MB / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2815, allocations: 0.8303 MB / 433.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.2815, allocations: 4 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.2816, allocations: 15.86 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.492e-05/0.2817, allocations: 19.86 kB / 433.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.282, allocations: 51.88 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.2822, allocations: 139.7 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.2823, allocations: 8 kB / 434.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004985/0.2828, allocations: 391.3 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.2829, allocations: 71.64 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.283, allocations: 8 kB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.804e-05/0.283, allocations: 16 kB / 434.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.2831, allocations: 63.75 kB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2832, allocations: 79.36 kB / 434.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.2836, allocations: 368.7 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2836, allocations: 0 / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2836, allocations: 0 / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2836, allocations: 0 / 435.1 MB, free: 3.184 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.00081/0.2844, allocations: 0.6513 MB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2845, allocations: 8.031 kB / 435.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.2845, allocations: 40.7 kB / 435.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.2848, allocations: 212.8 kB / 436 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2848, allocations: 12.38 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.2849, allocations: 12.36 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.2852, allocations: 236.7 kB / 436.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2852, allocations: 3.938 kB / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2853, allocations: 7.984 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2853, allocations: 4 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.2855, allocations: 174.8 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.2862, allocations: 388.2 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.2864, allocations: 197.3 kB / 437 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.2866, allocations: 187.7 kB / 437.2 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.2866, allocations: 3.938 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.287, allocations: 315.8 kB / 437.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.2871, allocations: 4 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009704/0.288, allocations: 0.6932 MB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2881, allocations: 166.2 kB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.2888, allocations: 0.5246 MB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.2888, allocations: 29.7 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.2889, allocations: 93.14 kB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.2889, allocations: 23.84 kB / 439.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.289, allocations: 89.52 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2892, allocations: 326.8 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2894, allocations: 178.7 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2896, allocations: 196.4 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2899, allocations: 346.3 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2899, allocations: 0 / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000617/0.2906, allocations: 0.4913 MB / 440.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.2907, allocations: 122.8 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2907, allocations: 0 / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2907, allocations: 4.031 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.906e-05/0.2907, allocations: 0 / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2907, allocations: 4.125 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2908, allocations: 23.94 kB / 440.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.2909, allocations: 36 kB / 440.8 MB, free: 12.84 MB / 350.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.0003545/0.2913, allocations: 358.2 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/0.2913, allocations: 39.77 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2914, allocations: 67.08 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2914, allocations: 4 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2914, allocations: 3.938 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2914, allocations: 4 kB / 441.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2925, allocations: 0.8588 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2925, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-06/0.2925, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2925, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.2926, allocations: 15.98 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2926, allocations: 0 / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2926, allocations: 0 / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.2933, allocations: 0.6519 MB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.2937, allocations: 205.3 kB / 443 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.2938, allocations: 16 kB / 443.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.2939, allocations: 11.98 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.294, allocations: 19.98 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/0.2941, allocations: 43.92 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004755/0.2945, allocations: 386.9 kB / 443.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2945, allocations: 0 / 443.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.2948, allocations: 47.94 kB / 443.5 MB, free: 9.941 MB / 350.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.0001379/0.295, allocations: 119 kB / 443.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.2956, allocations: 0.6086 MB / 444.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2956, allocations: 8.062 kB / 444.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003672/0.296, allocations: 416.4 kB / 444.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.2966, allocations: 122.5 kB / 444.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2978, allocations: 0.781 MB / 445.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.2981, allocations: 194.3 kB / 445.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.014e-05/0.2981, allocations: 12.64 kB / 445.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2981, allocations: 19.44 kB / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2981, allocations: 0 / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of Templates: time 0.008407/0.3065, allocations: 4.826 MB / 450.6 MB, free: 2.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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 [Calling sys.exit(0), Time elapsed: 4.69966715015471]