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.001125/0.001125, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006463/0.006463, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8281/0.8281, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.21e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002155/0.002177, allocations: 1.512 MB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.003917, allocations: 0.8342 MB / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.003976, allocations: 0 / 328.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.004073, allocations: 11.86 kB / 328.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.799e-05/0.004161, allocations: 23.78 kB / 328.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.004421, allocations: 47.83 kB / 328.3 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.004644, allocations: 139.7 kB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.004751, allocations: 15.98 kB / 328.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.005227, allocations: 407.3 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.005353, allocations: 63.81 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.005387, allocations: 8 kB / 328.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.005414, allocations: 12 kB / 328.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.949e-05/0.005504, allocations: 63.72 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.769e-05/0.005581, allocations: 55.73 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.005921, allocations: 358.8 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005925, allocations: 0 / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.005927, allocations: 0 / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.005932, allocations: 0 / 329.4 MB, free: 11.88 MB / 298.7 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.000675/0.006607, allocations: 0.6619 MB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.006648, allocations: 12.03 kB / 330 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.006714, allocations: 40.7 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.006956, allocations: 216.1 kB / 330.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.006977, allocations: 4.375 kB / 330.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.006999, allocations: 8.375 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003089/0.007308, allocations: 245 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007317, allocations: 192 / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.007336, allocations: 4.375 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.007342, allocations: 3.938 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.007496, allocations: 174.8 kB / 330.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.008078, allocations: 384.2 kB / 331.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.00828, allocations: 197.3 kB / 331.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.008433, allocations: 179.7 kB / 331.5 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.008446, allocations: 3.938 kB / 331.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.008751, allocations: 329.5 kB / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.008752, allocations: 3.938 kB / 331.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007259/0.009478, allocations: 0.6923 MB / 332.5 MB, free: 8.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.009567, allocations: 170.2 kB / 332.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.0101, allocations: 0.513 MB / 333.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.01012, allocations: 29.7 kB / 333.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.01018, allocations: 113 kB / 333.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.01021, allocations: 23.84 kB / 333.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.0103, allocations: 81.52 kB / 333.4 MB, free: 7.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.01039, allocations: 322.8 kB / 333.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.01054, allocations: 178.8 kB / 333.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.01068, allocations: 195.3 kB / 334.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.01095, allocations: 359.2 kB / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01095, allocations: 0 / 334.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000467/0.01142, allocations: 499.1 kB / 334.9 MB, free: 5.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.01149, allocations: 126.8 kB / 335 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01149, allocations: 8.031 kB / 335 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.0115, allocations: 0 / 335 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-05/0.01152, allocations: 0 / 335 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.01153, allocations: 3.938 kB / 335 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.01164, allocations: 15.98 kB / 335.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.01169, allocations: 36 kB / 335.1 MB, free: 5.523 MB / 298.7 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.0002773/0.01196, allocations: 370.7 kB / 335.5 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.01201, allocations: 47.7 kB / 335.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.0121, allocations: 59.09 kB / 335.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0121, allocations: 7.984 kB / 335.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01211, allocations: 0 / 335.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01211, allocations: 0 / 335.6 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000767/0.01288, allocations: 0.8665 MB / 336.4 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01288, allocations: 3.938 kB / 336.4 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.01289, allocations: 4 kB / 336.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01289, allocations: 0 / 336.4 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.01291, allocations: 15.98 kB / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01291, allocations: 0 / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01291, allocations: 0 / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000534/0.01345, allocations: 0.6562 MB / 337.1 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.01375, allocations: 205.4 kB / 337.3 MB, free: 3.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.01379, allocations: 12 kB / 337.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01389, allocations: 11.98 kB / 337.3 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.01398, allocations: 19.98 kB / 337.4 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.01402, allocations: 47.92 kB / 337.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00037/0.01439, allocations: 386.9 kB / 337.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01439, allocations: 3.938 kB / 337.8 MB, free: 2.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.01466, allocations: 44 kB / 337.8 MB, free: 2.605 MB / 298.7 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.0001106/0.01477, allocations: 119 kB / 338 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004945/0.01527, allocations: 0.6007 MB / 338.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01527, allocations: 0 / 338.6 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.01551, allocations: 428.4 kB / 339 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.01586, allocations: 130.5 kB / 339.1 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.01663, allocations: 0.8176 MB / 339.9 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.01678, allocations: 193.7 kB / 340.1 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.01681, allocations: 20.56 kB / 340.1 MB, free: 60 kB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01681, allocations: 0 / 340.1 MB, free: 60 kB / 298.7 MB Notification: Performance of Templates: time 0.002901/0.01971, allocations: 2.504 MB / 342.6 MB, free: 13.56 MB / 314.7 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.447263757698238]