Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002832, allocations: 59.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1213, allocations: 53.32 MB / 427.8 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002785/0.1241, allocations: 1.543 MB / 429.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1261, allocations: 0.8771 MB / 430.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.1261, allocations: 4 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.1263, allocations: 11.86 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.472e-05/0.1264, allocations: 19.84 kB / 430.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1266, allocations: 51.89 kB / 430.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1268, allocations: 139.6 kB / 430.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.1269, allocations: 11.98 kB / 430.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005006/0.1274, allocations: 395.3 kB / 430.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1276, allocations: 67.75 kB / 430.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.1276, allocations: 12 kB / 430.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.796e-05/0.1277, allocations: 11.94 kB / 431 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.1278, allocations: 67.75 kB / 431 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1279, allocations: 111.2 kB / 431.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.1283, allocations: 358.4 kB / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1283, allocations: 0 / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1283, allocations: 4 kB / 431.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1283, allocations: 0 / 431.5 MB, free: 0.8125 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008189/0.1291, allocations: 0.7305 MB / 432.2 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1292, allocations: 12.08 kB / 432.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.1293, allocations: 40.64 kB / 432.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1296, allocations: 274.7 kB / 432.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1296, allocations: 4.375 kB / 432.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.1296, allocations: 8.375 kB / 432.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.1299, allocations: 125.9 kB / 432.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1299, allocations: 0 / 432.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1299, allocations: 7.984 kB / 432.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.13, allocations: 11.98 kB / 432.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1301, allocations: 59.91 kB / 432.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006665/0.1308, allocations: 460.5 kB / 433.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.131, allocations: 78.47 kB / 433.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1311, allocations: 60.89 kB / 433.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.1311, allocations: 0 / 433.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.1315, allocations: 202.7 kB / 433.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1315, allocations: 0 / 433.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000874/0.1323, allocations: 471.5 kB / 434 MB, free: 14.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.1325, allocations: 166.2 kB / 434.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.1332, allocations: 0.513 MB / 434.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.1332, allocations: 29.7 kB / 434.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.1333, allocations: 105.1 kB / 434.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.1334, allocations: 27.84 kB / 434.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1335, allocations: 81.52 kB / 434.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1336, allocations: 326.8 kB / 435.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1338, allocations: 59.97 kB / 435.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1339, allocations: 69.67 kB / 435.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.1343, allocations: 343.2 kB / 435.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1343, allocations: 4 kB / 435.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005578/0.1349, allocations: 368.3 kB / 436.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.745e-05/0.135, allocations: 130.7 kB / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.135, allocations: 0 / 436.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.135, allocations: 8.094 kB / 436.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.135, allocations: 3.938 kB / 436.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.135, allocations: 0 / 436.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1351, allocations: 11.95 kB / 436.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.91e-05/0.1352, allocations: 43.98 kB / 436.2 MB, free: 11.63 MB / 366.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.0003725/0.1356, allocations: 378.3 kB / 436.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.1356, allocations: 35.81 kB / 436.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1357, allocations: 63.16 kB / 436.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1357, allocations: 4 kB / 436.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1357, allocations: 0 / 436.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1358, allocations: 0 / 436.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.1368, allocations: 0.8094 MB / 437.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1368, allocations: 0 / 437.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.1368, allocations: 4 kB / 437.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1368, allocations: 4 kB / 437.5 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1368, allocations: 11.98 kB / 437.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1368, allocations: 0 / 437.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1368, allocations: 3.938 kB / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.1375, allocations: 0.5233 MB / 438.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.1379, allocations: 248.6 kB / 438.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.662e-05/0.1379, allocations: 12 kB / 438.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1381, allocations: 8 kB / 438.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1382, allocations: 35.91 kB / 438.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.1382, allocations: 43.92 kB / 438.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005052/0.1388, allocations: 386.9 kB / 438.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1388, allocations: 0 / 438.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.1391, allocations: 44 kB / 438.8 MB, free: 8.867 MB / 366.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.0001509/0.1392, allocations: 119 kB / 439 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005487/0.1398, allocations: 373.5 kB / 439.3 MB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1398, allocations: 4.062 kB / 439.3 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.1401, allocations: 305.5 kB / 439.6 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.1407, allocations: 120.4 kB / 439.7 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1419, allocations: 0.6978 MB / 440.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.1425, allocations: 0.8022 MB / 441.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.1425, allocations: 15.44 kB / 441.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1425, allocations: 4 kB / 441.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of Templates: time 0.004748/0.1472, allocations: 2.511 MB / 443.8 MB, free: 3.781 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.538096972974017]