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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1/1, allocations: 173.4 MB / 201.1 MB, free: 9 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 3.938 kB / 268 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.162e-05/1.3e-05, allocations: 6.312 kB / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.001676/0.001689, allocations: 1.526 MB / 269.5 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002992, allocations: 0.8341 MB / 270.4 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.003038, allocations: 0 / 270.4 MB, free: 3.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.096e-05/0.003129, allocations: 11.86 kB / 270.4 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-05/0.003203, allocations: 15.86 kB / 270.4 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.003454, allocations: 55.81 kB / 270.4 MB, free: 3.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.00362, allocations: 139.7 kB / 270.6 MB, free: 3.711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.003707, allocations: 12 kB / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003684/0.004075, allocations: 419.2 kB / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004176, allocations: 55.81 kB / 271 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.004214, allocations: 16 kB / 271.1 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.004238, allocations: 8 kB / 271.1 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.004308, allocations: 63.78 kB / 271.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.782e-05/0.004376, allocations: 59.66 kB / 271.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.0046, allocations: 259.1 kB / 271.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.004604, allocations: 7.984 kB / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004605, allocations: 0 / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004609, allocations: 0 / 271.4 MB, free: 2.828 MB / 250.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.0005883/0.005198, allocations: 0.7785 MB / 272.2 MB, free: 1.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.005232, allocations: 8.922 kB / 272.2 MB, free: 1.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.005301, allocations: 48.7 kB / 272.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.005498, allocations: 226.8 kB / 272.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.005517, allocations: 4.375 kB / 272.5 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.005538, allocations: 12.38 kB / 272.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.005802, allocations: 237.7 kB / 272.8 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.00581, allocations: 4.172 kB / 272.8 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.005826, allocations: 4.375 kB / 272.8 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.005834, allocations: 7.875 kB / 272.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.005934, allocations: 162.8 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.006455, allocations: 0.4916 MB / 273.4 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.006599, allocations: 197.8 kB / 273.6 MB, free: 456 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.006708, allocations: 174.5 kB / 273.8 MB, free: 252 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.006715, allocations: 3.938 kB / 273.8 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.006929, allocations: 315.2 kB / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.006931, allocations: 0 / 274.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005638/0.007494, allocations: 0.6736 MB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.007561, allocations: 170.2 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.008102, allocations: 0.6232 MB / 275.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.008127, allocations: 33.7 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.00819, allocations: 151.8 kB / 275.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.00822, allocations: 31.73 kB / 275.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.008297, allocations: 87.16 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.008421, allocations: 0.4923 MB / 276.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.008524, allocations: 162.8 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.008629, allocations: 182.1 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.008811, allocations: 333 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008813, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003639/0.009177, allocations: 494.9 kB / 277.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.009236, allocations: 122.9 kB / 277.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.009241, allocations: 3.938 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.009256, allocations: 3.984 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-05/0.009277, allocations: 4 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.009282, allocations: 0 / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.429e-05/0.009376, allocations: 12.12 kB / 277.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.009417, allocations: 40 kB / 277.7 MB, free: 11.95 MB / 266.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.0002503/0.009668, allocations: 389.3 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.009712, allocations: 55.7 kB / 278.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.009786, allocations: 59.08 kB / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009788, allocations: 0 / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.009792, allocations: 0 / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009795, allocations: 0 / 278.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.01049, allocations: 0.9516 MB / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.0105, allocations: 0 / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-06/0.0105, allocations: 0 / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.0105, allocations: 0 / 279.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.01052, allocations: 16 kB / 279.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01053, allocations: 4 kB / 279.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01053, allocations: 3.984 kB / 279.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.01095, allocations: 0.6925 MB / 279.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.01116, allocations: 169.5 kB / 280 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.0112, allocations: 12 kB / 280 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.01127, allocations: 11.98 kB / 280 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.01134, allocations: 23.97 kB / 280 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.01138, allocations: 40 kB / 280.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.01171, allocations: 430.7 kB / 280.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01171, allocations: 3.938 kB / 280.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.0119, allocations: 59.89 kB / 280.6 MB, free: 8.848 MB / 266.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 9.266e-05/0.012, allocations: 115 kB / 280.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.01239, allocations: 0.5888 MB / 281.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01239, allocations: 0 / 281.3 MB, free: 8.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.01261, allocations: 428.1 kB / 281.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.01299, allocations: 143.2 kB / 281.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.01371, allocations: 0.7448 MB / 282.6 MB, free: 6.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.189e-05/0.01378, allocations: 99.25 kB / 282.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.732e-05/0.01382, allocations: 8.719 kB / 282.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.01384, allocations: 16.5 kB / 282.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01384, allocations: 0 / 282.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of Templates: time 0.005897/0.01974, allocations: 5.015 MB / 287.7 MB, free: 1.527 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8271491532213986]